petrofrolov / vast-video-js Goto Github PK
View Code? Open in Web Editor NEWVAST-Ad plugin for HTML5 by video.js
VAST-Ad plugin for HTML5 by video.js
'canpaly' event is called after 'timeupdate'. If for post-roll set time as -1 to avoid play it as pre-roll in Opera then nothing playing (
The vast-plugin from the "v4" branch works with "html5", but not with "flash".
Testcase (only mp4 video files):
http://doppelbauer.name/test/
Thanks a lot
Markus
Help me, please !
Vast-Video-js can play video with link from Youtube
"I tried to install the player and the plugin and still experiencing a blocker issue with IE9
where after playing the pre-roll the player won't start the main video (will double-check,
I suspect it's using Flash).
Post-rolls work better, yet it seems like the plugin is inserting post-rolls 1 second
before the end of the main video, not straight after the video. So it goes, the main video
comes to the end, then the post-roll plays, and after that it will play the last one second of the main video."
main video replay after post-roll
Hello,
I think it's the wrong place for this but I don't find how can I write a message.
What is the version off vast ? 2.0 or 3.0
and for VPAID ?
You make a good JOB.
Thank you.
Hi, and thanks for this awsome plugin.
Is it normal that the video ads are not showing after replaying or going back on the video ?? or there is an options to set or a tag to add in the vast file in order to replay ads if the main video is replayed ?
Thanks.
Hi, i'm trying set show ads in pre-roll and postroll, but only get the preroll.
How can do for run both?
Thanks
Hi,
I am able to see this particular intermittent issue on Safari v 6.0.5.
The content video restarts after the mid-roll ad playback. The code in 'seekToOriginalPoint' is setting the time to zero.
var currtime = this.enforcePrecision(startplayback, 0);
this.player.currentTime(currtime);
I see this behavior only on Safari. Can you please help me resolve this.
Thanks in advance.
Some times ago, Video JS has updated their video player.
Now it's recommanded to use this one (version 4.0) :
<link href="http://vjs.zencdn.net/4.0/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/4.0/video.js"></script>
in place of the old one (version 3.2.0) :
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/c/video.js"></script>
This vast plugin works really well with the old version.
But with the new version, the plugin doesn't seems to be correctly initialized :
"Uncaught TypeError: Cannot set property 'xdr' of undefined"
Are you planning to update this plugin to support the new Video JS ?
Brightcove 2013 video.js doesn't supported VAST tag. Its only supported 2011 Zencoder video.js. How to run Brightcove video.js with VAST tag. anyone know this, please help me.
for a project, we made several enhancements around preroll ads to the VideoJs v3 vast plugin. if there's interest in including them in the main code base, i'll happily provide some pull requests for them:
delayed ad requests
instead of contacting the ad server upon videoplayer/plugin instantiation, the adrequest is made when the video starts playing, either by user interaction (clicking the play button) or by autoplay. this allows having multiple videojs players on the same page while still providing ad capping (x ads per user and y minutes) and targeting (first show ad x, then show ad y, then ...).
skip ad button
after a configurable time (seconds), a close-button overlay is shown which allows the user to skip the current ad.
"this is an ad, your video will start in x seconds"
depending on the ad's content, the users had a hard time to distinguish the ad from the real video :-) we therefore added a configurable text overlay that can contain a countdown informing the user how long the ad will keep playing.
Doesn't work in Internet Explorer 8 (Windows 7). The ad is not played. It just goes to the main video file.
If the skip button is on hover state at the end of the ad video, the browser crashes while trying to load the main video file. (Chrome - OSX 10.8.2)
Is it your plugin capable of playing flv video in pre-roll?
I try to use this VAST source:
http://ad.doubleclick.net/pfadx/AngelaSite;kw=nexuswrapper;sz=300x250;ord=4422567;dcmt=text/html
Is there way to debug your plugin to see any errors?
Thanks
Is there any chance that the plugin will read companion ads and also serve overlays within the player?
Regards
No SkipAd button in Opera
ProgressBar and Time also has a bug
Hi,
I tried to use the VAST example as mid or pre roll without success, no advertising spot there.
Only the content without the ad is shown.
E.g. on an iPad with iOS 5.
The safari console does not show an error, so i wonder what's wrong there?
Any idea or tip?
Thanks
Hi!
First of all, great plugin!
I'm having some trouble, can you please give more detailed instructions on how to serve ads using OpenX?
I've tried to put the "http://mydomain/openx/www/delivery/fc.php" in the apiAddress line and then call the zone and all of that, but so far I can't make it work.
What should I do in order to serve ads with your plugin using OpenX??
Does it support VAST wrapper? If it does, can you give me an example? Thanks very much! You did a real nice work!
In Chrome and Safari Pre-roll video is played even when auto play is false on OSX (10.8.2). On Windows (Chrome) everything seems normal and the preroll is played when start is clicked.
I'm trying to run the plugin in the default android browser but it doesn't work. I don't get any kind of error but the ad video doesn't start.
It works fine under chrome mobile.
Hi, first of all, thanks for this awesome plug-in!, i was wondering if you could create an event for when all videos finished playing (Ad+main video), i'm putting everything in an iframe that shows in a jQuery lightbox, so only when all the videos end playing i want to close the lightbox, currently, i'm listening for the "ended" event and closing but that closes the lightbox right after the first video (ad) ends.
Is there a way that the different positions are calling different apiAddress? Basically pre-roll to call one address, mid-roll another etc.
I've copied your example files to http://www.funnynews.it/vastvideojs/examples/index.html . I've changed all paths in code to absolute paths, but testing it with different browsers it seems to work fine just in Chrome (not ie9, not FF, not Safari) Was I supposed to change some other path or do something else during the files setup on server?
Thanks for your work! :)
Hi,
I think that Video.js uses a flash player to play video. If I disable the Flash (Shockwave Flash), then video does not play.
Also, when the flash is enabled, I can see the ad as well as the content video. But, after the mid roll playback, content video restarts instead of continuing playback. I see this behavior only on IE and Safari.
Perhaps it would be helpful to combine this plugin with this one which I believe works on Video.js 4.x
Hi,
I need to play a .mp4 video files through the prettyPhoto Light box. I am having difficulties to integrate PrettyPhoto with the Video-js. Please provide the possible ways to do it. Thank you in advance.
mute/umnute, pause/resume, fullscreen/exitFullscreen events
tracking events: check ad type
Hello,
is the v4 branch working?
i have the problem, that the vast ad is repeating many times an the actual video doesn't start.
Sometimes it repeats 4 or 5 times, sometimes endless.
I"m using the plugin from v4 branch with video.js 4.2.2
Thanks for any help.
How does one go about hiding the conrtols for the ad only?
Hi, Thanks for the plugin. For some reason the ads don't play for me. I'm on a Mac and tried it on Chrome v.25, Firefox v.19, and Safari v.6. I simply downloaded the zipped file and opened the index.html file under the example folder, the main video plays but there is no preroll, mid-roll or postroll. I didn't make any edits to the plugin option. Let me know what I might be missing. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.