Skip to content

Conversation

@markomarkovic
Copy link
Contributor

This is a simple plugin that uses ajax call to load content and show it on top of the video when video ends.

Usage

Within the <video> element, include a link to the postroll content:

<video ... >
   ...
   <link rel="postroll" href="link_to_postroll_content" />
</video>

Don't forget to enable it

$('audio,video').mediaelementplayer({
    features: ['playpause','progress','volume','postroll']
});

@kenmcd
Copy link

kenmcd commented Nov 20, 2012

Excellent!
Very useful.

Could this same concept be modified for a pre-roll content plug-in?
Lots of users looking for that in an HTML5 player.

Thanks.

johndyer added a commit that referenced this pull request Dec 20, 2012
@johndyer johndyer merged commit 71ec9e9 into mediaelement:master Dec 20, 2012
@markomarkovic markomarkovic deleted the feature-postroll branch December 24, 2012 21:48
phuongdh pushed a commit to avalonmediasystem/mediaelement that referenced this pull request Oct 18, 2013
rexblack pushed a commit to rexblack/mediaelement that referenced this pull request May 22, 2014
rexblack pushed a commit to rexblack/mediaelement that referenced this pull request May 22, 2014
marmite22 pushed a commit to HT2-Labs/elucidat-mediaelement that referenced this pull request Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants