/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
extensions/rich_text_components/Video/directives/video.component.html
29 строк
858 B
Shivam Jha
Milestone 1.2 (Migrate away from protractor): Setup webdriverio and migrate few tests suite from protractor to webdriverIO (#15614)
08 июл 2022, 11:23
Не верифицирован
08 июл 2022, 11:23
1bd5ab8
Код
Авторство
О чём код?
<div class="oppia-noninteractive-video-iframe-container"> <div class="oppia-noninteractive-video-iframe"> <youtube-player *ngIf="videoId" class="e2e-test-youtube-player" [videoId]="videoId" [startSeconds]="start" [endSeconds]="end" [playerVars]="playerVars"> </youtube-player> </div> </div> <style> /* The value of 60.9% is derived from the ratio of the height to the width * (280/480). See http://alistapart.com/article/creating-intrinsic-ratios-for-video * for more details. */ .oppia-noninteractive-video-iframe-container { padding-bottom: 60.9%; position: relative; } .oppia-noninteractive-video-iframe /deep/ iframe { height: 100%; left: 0; position: absolute; top: 0; width: 100%; } </style>