unindel / open-video-ads

Automatically exported from code.google.com/p/open-video-ads
0 stars 0 forks source link

JW Player playlists - support for meta tags and other XSPF tags #208

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Firstly, I would like to express my linking of the project. Very very nice.
Secondly, this is not a problem but an enhancement which I hope I can 
implement and contribute to the project. I need your comments first 
please...

I always use JWplayer with playlist XSPF type, even when playlist contains 
only 1 video. Reason for this is that for a couple of plugins I use <meta> 
tags in XSPF playlists to transfer data bound to playlist items to the 
plugin itself. Other reason is that I wish to keep the control in my 
application of the content of the playlist even for players embeded in 
other sites.

1. My problem is that I would like be able to control all possible item 
tags for the XSPF that is produced internally by the OpenAdStreamer plugin 
and given to JW

Where do you think is the correct place and the way to implement proxying 
of such tags?

What version of the product are you using? On what operating system?
I am trying to use the latest stable at the moment, 0.4.1.3

Please provide any additional information below.

This is a typical example of the playlist 
<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList><track>
<title>The Nature</title>
<creator>Dzanan Rebac</creator>
<meta rel="streamer">rtmp://10.0.0.20:1935/vod</meta>
<location>15_Priroda HD.flv</location>
<image>http://static.test.com/localtest.kitv/uploads/thumbnails/gen_thumb_2
603200913081984.jpg</image>
<meta rel="id">15</meta>
<meta rel="date">26.03.2009</meta>
<meta rel="embed">---here there is alot of embed code---</meta>
</track>
</trackList>
</playlist>

Thanx
Haris

Original issue reported on code.google.com by haris.zu...@gmail.com on 15 Apr 2010 at 3:14

GoogleCodeExporter commented 9 years ago
The first solution that comes in mind is to enable the VAST framework to start 
off 
with already existing playlist XSPF but I suppose this is not so easy?

If I add those data in some predefined structure to config.xml of the 
OpenAdStreamer 
plugin, what do you think?
Example:

            "shows": {
               "baseURL": "rtmp://10.0.0.20/vod",
               "streams": [
                   {
                       "file":"21_Artbeats_HD_Library_Demo_Reel.flv",
                       "duration":"00:01:35",
                       "autostart": true
                       "meta": [
                             {
                               "id":"1",
                               "embed":"a lot of embed code...",
                               "date":"12.8.2010"
                             }
                               ]

                   }
               ]
            },

Original comment by haris.zu...@gmail.com on 15 Apr 2010 at 3:40

GoogleCodeExporter commented 9 years ago
Yep, good approach.. adding in now - will be in the next release (out in the 
next 7-10 days)

Original comment by paul.sch...@gmail.com on 20 Apr 2010 at 10:04

GoogleCodeExporter commented 9 years ago
I will gladly test this part..
Thank you

Original comment by haris.zu...@gmail.com on 22 Apr 2010 at 8:46