Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Testing fullscreen video #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cypress/integration/app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ describe('TodoMVC', function () {

cy.get('.todo-list li').should('have.length', 2)
})
it.only('Get button and widescreen', () =>{
cy.get('body');
cy.viewport(window.screen.width, window.screen.height);
})

context('No Todos', function () {
it('should hide #main and #footer', function () {
Expand Down
20 changes: 18 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="node_modules/todomvc-common/base.css">
<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css">
</head>
<body>
<body style="outline: 1px red solid;">
<section class="todoapp">
<header class="header">
<h1>todos</h1>
Expand All @@ -18,6 +18,7 @@ <h1>todos</h1>
<label for="toggle-all">Mark all as complete</label>
<ul class="todo-list"></ul>
</section>


<footer class="footer">
<span class="todo-count"></span>
Expand All @@ -29,7 +30,22 @@ <h1>todos</h1>
<button class="clear-completed">Clear completed</button>
</footer>
</section>

<h2>hello</h2>
<iframe width="560" height="315" src="https://www.youtube.com/embed/icPHcK_cCF4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<h2>Video 2</h2>

<!-- Put this wherever you would like your player to appear -->
<img
style="width: 100%; margin: auto; display: block;"
class="vidyard-player-embed"
src="https://play.vidyard.com/Y43KGWHkBPBxRscdkNBGvi.jpg"
data-uuid="Y43KGWHkBPBxRscdkNBGvi"
data-v="4"
data-type="inline"
/>
<div>
<button style="border: 1px black solid" type="button" onclick="alert('Hello world!')">Click Me!</button>
</div>
<footer class="info">
<p>Double-click to edit a todo</p>
<br>
Expand Down