Skip to content

iammilaad/jwplayer-vast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free VAST/VMAP JS Plugin JW Player

without any License key

JW Player Logo

VAST/VPAID Advertising For The Most Popular HTML5 Player And Video Platform


Cross-platform, free and open-source VAST jwPlayer

Usage

  • clone the project
  • call jwplayer and config it
  • upload VmapJwPlayer.js to your server
  • Enjoy it :)
<script type="text/javascript">
    var playerInstance = jwplayer("video");
    playerInstance.setup({
        aspectratio: "16:9",
        stretching:'uniform',
        playlist: [{
            sources: [

                {
                    file:  'http://example.com/video.mp4'  ,
                    label: '240',
                    type:"video/mp4"
                    ,"default": "true"
                }

            ],
            title: "Your Video Title",
            description: "Your Video Description",
            image: "Your Video Poster"
        }],
        plugins: {
            "http://example.com/VmapJwPlayer.js": {},
        }
        ,advertising:{
            client:"vast",
            schedule:"VMAP XML DATA URL",
        }
        primary: "html5",
    });
</script>
FORMAT TYPE
Linear MP4, FLV,MP4,JPG,PNG,GIF
Non-linear MP4, FLV,MP4,JPG,PNG,GIF
Skippable Linear MP4, FLV,MP4,JPG,PNG,GIF

Note

ES6 Version and NPM Package coming soon :)

License

Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)
(C) 2016 - miladheydari.ir @iammilaad
https://creativecommons.org/licenses/by-nc/3.0/

About

VAST VMAP plugin for jwplayer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published