Skip to content

Commit

Permalink
fix: show big button on mobile for youtube videos
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Feb 4, 2025
1 parent c02a0df commit e14fe19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/plugins/util/youtube-video.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,7 @@ const initYoutubePlugin = (videojs) => {
var css = // iframe blocker to catch mouse events
'.vjs-youtube .vjs-iframe-blocker { display: none; }' +
'.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }' +
'.vjs-youtube .vjs-poster { background-size: cover; }' +
'.vjs-youtube-mobile .vjs-big-play-button { display: none; }';
'.vjs-youtube .vjs-poster { background-size: cover; }';

var head = document.head || document.getElementsByTagName('head')[0];

Expand Down

0 comments on commit e14fe19

Please sign in to comment.