• Register
THIS Q&A SECTION HAS BEEN CLOSED. PLEASE GO TO OUR old discussion forum TO POST YOUR QUESTIONS THERE.

Possible to have a video load for preroll and postroll?

0 votes
I have tried but no video loads...

Thx
asked 2 years ago by semiotics101

1 Answer

0 votes
Pre and post -roll is possible with any type of media. E.g. http://www.projekktor.com/demo-slideshow.php  - just replace the images with a video and all is good.

In fact "pre and post -roll" isn´t different to an ordinary playlist. A marketing trick so to say =).

If you´ve still trouble getting things to work please provide a link to your demo setup or any further information at least.
answered 1 year ago by Sascha Kluger
Hi Sascha, thanks for the quick reply! Unfortunately, different media types are not working...

version = 0.8.21
src path = correct
type = correct

Basic example:

jQuery.noConflict();
jQuery(document).ready(function() {
    projekktor('.projekktor', {
    debug: false,
    width: 640,
    height: 480,
       poster: "images/myposter.jpg",
    controls: true,
    playlist: [
        //{src:'banners/mybanner1.jpg', type:"image/jpeg", config:{duration:10}},
        {src:'media/myvideo.mp4', type:"video/mp4", config:{duration:10}},
        {
        0: {src:'media/intro.mp4', type:"video/mp4"},
        1: {src:'media/intro.webm', type:"video/webm"},
        2: {src:'media/intro.ogv', type:"video/ogg"}

        },
        {src:'banners/mybanner2.jpg', type:"image/jpeg", config:{duration:10}}
    ]

    });
 })

- Everything else works perfectly with PNG or JPEG but not VIDEO :-(
- Dev on localhost, can't link demo :-/

Thx

Related questions