Skip to content

Commit

Permalink
feat(VAST-56): set display block explicitly (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasty committed Oct 10, 2023
1 parent 7509835 commit 332714b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/demo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/demo.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ class Vast extends Plugin {
// add the skip button
const skipButtonDiv = document.createElement('div');
skipButtonDiv.id = 'videojs-vast-skipButton';
skipButtonDiv.style.cssText = 'bottom: 90px; cursor: default; padding: 15px; position: absolute; right: 0; z-index: 3; background: rgba(0, 0, 0, 0.8); min-width: 30px; pointer-events: none;';
skipButtonDiv.style.cssText = 'bottom: 90px; cursor: default; padding: 15px; position: absolute; right: 0; z-index: 3; background: rgba(0, 0, 0, 0.8); min-width: 30px; pointer-events: none; display:block';
skipButtonDiv.innerHTML = isSkippable ? 'skip >>' : skipRemainingTime.toFixed();
this.domElements.push(skipButtonDiv);
this.player.el().appendChild(skipButtonDiv);
Expand Down

0 comments on commit 332714b

Please sign in to comment.