OpenPlayer report 5

Present: Mia, Hamish, Sam, Michael, Richard

This was officially a tech meetup for the Open Media Network (rss in), but we fancied getting stuck in and actually making something, so we tried to implement the jwplayer in the OpenSocial wrapper (the OpenPlayer).

Here's the code:

(Note: it's not working yet, need to check the location of the files - the js file and the rss feed)










-

<?xml version="1.0" encoding="UTF-8" ?>

<Module> <ModulePrefs title="hello world example" /> <Content type="html"> <![CDATA[ <script type='text/javascript' src='http://player.longtailvideo.com/jwplayer.js'></script>

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'> jwplayer('mediaspace').setup({ 'flashplayer': 'player.swf', 'playlistfile': 'http://visionon.tv/wsrp-portlet/proxy/?url=http://db.tt/kUxsabye', 'playlist': 'bottom', 'controlbar': 'bottom', 'width': '470', 'height': '470' });

</script>

Hello, world! ]]> </Content> </Module>}}}










-

The development environment for the above code is here

Problems of cross-domain blocking by javascript

Solution?

We can get a widget that works on our site and can be embedded from there.

Next stage is to build a UI which when you deploy the opensocial gadget, there is a box to input an rss feed.

For now people can just embed an iframe from visionon.tv

The wrapping is done successfully.

TO DO:

1. Put everything on the same server. Upload new jwplayer to the visionontv server, and get a web-accessible link to the jwplayer.

2. Put the file that Sam made on visionOntv server.

3. Michael: there are javascript libraries that do cross-domain, so these need investigating:

0 Attachments
1333 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments

Flattr this

June 7
Richard Hering updated a wiki page, Newsflash.
11:50
June 2
Hamish Campbell updated a wiki page, OMN moble ap.
19:55
Hamish Campbell updated a wiki page, OMN moble ap.
19:45
Hamish Campbell wrote a new wiki page, OMN moble ap.
19:39
Hamish Campbell updated a wiki page, Projects.
19:38
May 27
Hamish Campbell wrote a new wiki page, Newsflash.
12:41
Hamish Campbell updated a wiki page, Projects.
12:39
May 16
Hamish Campbell updated a wiki page, liferayRSSin.
19:26
Hamish Campbell commented on a wiki page, liferayRSSin.
19:02
Subscribe to springofcode's activities. (Opens New Window)