videojs-resolution-switcher
videojs-resolution-switcher copied to clipboard
Not appear on Some browser
Edge, Maxton even Firefox not appear please Fixed it.
VideoJS version v5.8.0
I cant reproduce the problem. I've tested it on Edge, Maxton, Firefox - it works. Could you provide more details or example.
ah yes this is I put as add on so when I include this bug happened(not videoJS). but your script sir
as test.php. I think for all plugin work like videoJS skin twitchy Test.php
<?php
//Component
include"component.php";
?>
<video id="video_1" class="video-js vjs-skin-twitchy" controls preload="auto" width="640" height="264" poster="http://vjs.zencdn.net/v/oceans.png" data-setup="{}">
<source src="videos/bo.mp4?480" type='video/mp4' label='SD' res='480' />
<source src="videos/bo.mp4?1080" type='video/mp4' label='HD' res='1080'/>
<source src="videos/bo.mp4?144" type='video/mp4' label='phone' res='144'/>
<source src="videos/bo.mp4?2160" type='video/mp4' label='4k' res='2160'/>
<track kind="captions" src="../shared/example-captions.vtt" srclang="en" label="English"></track>
<!-- Tracks need an ending tag thanks to IE9 -->
<track kind="subtitles" src="../shared/example-captions.vtt" srclang="en" label="English"></track>
<!-- Tracks need an ending tag thanks to IE9 -->
<p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
</video>
<?php
//Listing
include"listing.php";
?>
here I input in plugin :
as component.php
<link href="test/videojs-resolution-switcher.css" rel="stylesheet">
<link href="test/videojs-resolution-switcher.js" rel="stylesheet">
listing.php
<script>
videojs('video').videoJsResolutionSwitcher()
</script>
all plugin works in VideoJs but I just take only if wanna used.
Thank You. And I think nice work you done.