Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Mid-Roll Problem With OVA for JWPlayer 5 & RTMP Streaming

6 replies [Last post]
Reply

hi

we have a mid-roll ad that we must place on the player with OVA. we are using jwplayer 5 and streaming videos with RTMP. even the basic mid-roll examples are not working.

the following is my "schedule":

"startTime":"00:10:00",
"position": "mid-roll",
"tag": "http://ad.reklamport.com/rpgetad.ashx?VAST=1&tt=acunn_yni_dizi1_mr_800x700&rnd=__random-number__"

with this structure it is not working. however if i give the video a "duration" via embedder, then the mid-roll add is displayed. is there any other work around for this?

Reply

Hi,

Not at the moment. At present mid-rolls for OVA for JW5 are quite restrictive. the only way mid-rolls work with OVA and JW5 is if a duration.

Once JW supports an "in-stream API" then a duration will no longer be required. That's not until early 2012.

The OVA for Flowplayer implementation does not require a duration to be specified for mid-rolls.

Paul

Reply

hi paul,

thanks for the quick response. do you know if is there anyway for me to get the duration of the videos dynamically? otherwise i will make editors enter them one by one.

Reply

Hi,

Well for OVA for JW5 that's actually the issue. OVA can get the duration dynamically via the metadata as the stream starts up, but when OVA starts it creates an ad schedule and then slices the stream up into pieces based on the start time of the mid-roll and the duration of the stream.

By the time the stream duration comes through dynamically, it's too late for the current implementation of OVA.

All in all, it's a bit of a flawed approach at the moment in the code.

Thinking about it though, you could however work around this using pre-rolls and a playlist declaration. You could declare your playlist in terms of the parts of the show to play in between the mid-rolls and declare the mid-rolls as "pre-rolls" in the schedule. That way the final segment of the show will actually get the duration.

For example, if you had a show and wanted to play a mid-roll at 90 seconds and then 180 seconds, you could declare your playlist as:

[
    {
       file: 'the-show-stream',
       duration: 90
    },
    {
       file: 'the-show-stream',
       start: 90,
       duration: 90
    },
    {
       file: 'the-show-stream',
       start: 180
    }
]

and the OVA schedule as:

{
    "ads": {
         "schedule": [
               {
                    "position": "pre-roll",
                    ...
               }
         ]
}

Worth a go...

Paul

Reply

hi Paul,

i have a question. why ova slices the player to the duration we set the mid-roll to be displayed and the rest? for example, when i set it to minute 5:00, the video starts and displays the duration as 5:00, when it's there, it displays the mid-roll ad and the continue from 5:01. people are getting confused and we are getting tons of e-mails. aren't there any workarounds for this

thanks in advance.

Reply

Hi,

Unfortunately it's a limitation of the current implementation of OVA for JW5 because JW player up to and including JW 5.8 does not support an instream API that allows a clip like an ad clip to be cleanly played over a show stream clip at a given time.

JW 5.9 will have this type of API and as such, OVA for JW5 will be rewritten to support it.

Until JW 5.9 is out, and OVA for JW5 is rewritten to support it, there is no work around for mid-rolls and OVA for JW5.

OVA for Flowplayer however does use the existing Flowplayer Instream API so if you want a view on what it will look like when JW 5.9/the updated OVA for JW5 versions are out, you can see that here:

http://static.openvideoads.org/qa/latest/ova.flowplayer/examples/ad-formats/example18.html

Paul

Reply

thank you paul, i'm looking forward to this.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options