-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentdocsThis issue is related to documentationThis issue is related to documentation
Description
https://github.com/angular/components/tree/master/src/youtube-player
not
else it will throw
ERROR Error: Uncaught (in promise): Error: Template parse errors:
Only void and foreign elements can be self closed "youtube-player" ("height="200" frameborder="0" allowfullscreen>
this part is i have no idea
const tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
document.body.appendChild(tag);
but it throws
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost:4200').
delete this
private _width = DEFAULT_PLAYER_WIDTH; |
so if we don't attach width.. it will auto-fill it.. not the original 640px
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentdocsThis issue is related to documentationThis issue is related to documentation