ampproject / ampproject/amp.dev

Playground: seeing `embedMode is undefined` error

Open
#6,216 0 comments 0 reactions 0 assignees View on GitHub
Status: Pending Triage Type: Bug
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report

### Current behavior
When using the playground in mobile emulation mode, I am seen an error `embedMode is undefined` in the console.

Please also provide:
- Page link: https://playground.amp.dev/?url=https%3A%2F%2Fpreview.amp.dev%2Fdocumentation%2Fexamples%2Fcomponents%2Famp-lightbox-gallery&format=websites
- (Optional) Screenshots/videos:

![Screen Shot 2021-11-11 at 10 38 54 AM](https://user-images.githubusercontent.com/4656974/141326106-efd701d0-d65f-414c-8016-7f731ea46944.png)

### Reproduction procedure

Browser: Chrome

1. Open the provided URL in Chrome with Dev Tools Console optn
2. (maybe): enable mobile emulation
3. Notice the error
3.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.