Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature postroll #660

Merged
merged 5 commits into from
Dec 20, 2012
Merged

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 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.

None yet

3 participants