Created
March 25, 2022 11:33
-
-
Save HeNy007/306548f03e7d6567aa68df77370edfd1 to your computer and use it in GitHub Desktop.
Videojs VAST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- ideally this should be in <head> --> | |
| <!-- videojs must be included first --> | |
| <link rel="stylesheet" href="//vjs.zencdn.net/5.9.2/video-js.css"> | |
| <script type="text/javascript" src="//vjs.zencdn.net/5.9.2/video.js"></script> | |
| <!-- videojs-vast-vpaid --> | |
| <link href="//cdn.rawgit.com/MailOnline/videojs-vast-vpaid/master/bin/videojs.vast.vpaid.min.css" rel="stylesheet"> | |
| <script src="//cdn.rawgit.com/MailOnline/videojs-vast-vpaid/master/bin/videojs_5.vast.vpaid.min.js"></script> | |
| <!-- viblast --> | |
| <script src="//cdn.viblast.com/vb/stable/viblast.js"></script> | |
| <!-- body --> | |
| <video id="vid1" class="video-js vjs-default-skin vjs-big-play-centered" controls autoplay | |
| data-setup='{ | |
| "plugins": { | |
| "vastClient": { | |
| "adTagUrl": "//pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/6062/iab_vast_samples/skippable&ciu_szs=300x250,728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1", | |
| "adsCancelTimeout": 3000, | |
| "adsEnabled": true, | |
| "preferredTech":"html5", | |
| "vpaidFlashLoaderPath": "//github.com/MailOnline/videojs-vast-vpaid/blob/RELEASE/bin/VPAIDFlash.swf?raw=true" | |
| } | |
| }}' | |
| width='640' | |
| height='400' | |
| data-viblast-key="N8FjNTQ3NDdhZqZhNGI5NWU5ZTI=" | |
| > | |
| <source src="//cdn3.viblast.com/streams/hls/airshow/playlist.m3u8" type='application/x-mpegURL'> | |
| </video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment