Is there going to be a port for 7.x?
Thanks for you answer :D

Comments

mstrelan’s picture

Yes, when I get time. Patches are always welcome. I did attempt this a while back by trying to borrow from media_youtube but that module was not in a working state so I postponed it.

justaname’s picture

subscribing

kehan’s picture

subscribing, and also media_youtube is now working again ;)

bottasini’s picture

While you wait for the port, you may embed Ustream livestreams into a Drupal 7 node by using the "embed code" provided by Ustream for any channel, something like this:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="296" id="utv898632"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid=8847003&amp;v3=1"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://www.ustream.tv/flash/viewer.swf"/><embed flashvars="autoplay=false&amp;brand=embed&amp;cid=8847003&amp;v3=1" width="480" height="296" allowfullscreen="true" allowscriptaccess="always" id="utv898632" name="utv_n_489720" src="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" /></object><br /><a href="http://www.ustream.tv/" style="padding: 2px 0px 4px; width: 400px; background: #ffffff; display: block; color: #000000; font-weight: normal; font-size: 10px; text-decoration: underline; text-align: center;" target="_blank">Broadcasting live with Ustream</a>

BUT, if you simply paste the above code into a page, it cannot work, because of some html filters applied by Drupal on it. I accidentally discovered the way to make it work: I installed Wysiwyg (and TinyMCE) editor, activated the "Media" button in TinyMCE and paste the above code into the "Source" tab of the "Insert/embed Media" window. This passage magically translates the above code into the following, simpler one:

<object id="utv304648" data="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" width="480" height="296"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="src" value="http://www.ustream.tv/flash/viewer.swf"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid=8847003&amp;v3=1"></object>

THIS code works!

So it is possible ti embed Ustream live broadcasting into a Drupal 7 site without Media or Wysiwyg or TinyMCE modules, by simply convert the original embedding code provided by Ustream according to the above example and paste it in a full html page.

rob c’s picture

Subscribe

FluxRostrum’s picture

me too

AllyMediaGroup’s picture

Assigned: Unassigned » AllyMediaGroup
Priority: Normal » Critical

Please, can someone please get this ported to drupal 7, This is exactly what I need for a tv station's website so we can broadcast the local channel live on the site. He already uses Ustream, so it is a huge plus if this can be ported quickly.

If you can at least have a time frame as to when it will be ported it would be helpful.

AllyMediaGroup’s picture

StatusFileSize
new329.45 KB

Please Review,
I ran coder review on the module and attached is a screen shot of what it says needs to be changed. By the way I am hoping that this will work with the Media Module

AllyMediaGroup’s picture

Status: Active » Needs work
StatusFileSize
new35.61 KB

Here is what I have been able to do with my limited coding skills. Please if anybody can help get this going it would be extremely helpful

AlanYuri’s picture

Any update on this?

adrianedge’s picture

Thank you for the work on this module for UStream. Is there a time frame as to when something will be available for Drupal 7. This module is desperately needed.

mstrelan’s picture

I have no plans to port this to 7.x myself, but will accept patches and consider requests for co-maintainership.

rob c’s picture

Any work done on this? And if so, what version for the media module is that work done? (i'm having a go at the moment on a version based on media/media_youtube/vimeo 2.x, if nobody else has something in development / a working state, i might continue developing it.)

mstrelan’s picture

ClusterFCK - I think you should definitely give it a go and post back what you can :D

rob c’s picture

Ok, i have playback of recorded videos working, rest still needs a lot of work, but, it's going somewhere.
I can't seem to register on the (new?)(drupal!) ustream development site for an api key, that's going to stall things a bit. (anyone has a spare key available? please send it, thnx!)
(ps api key register link also changed, see the emfield config page and click on the register link, but i didnt got a confirmation mail yet, registerd 3 days ago...)

Update: i was contacted for a development key, thanks!

rob c’s picture

Small update:
- Currently investigating requirements and extra options we might need to add.
- Checking out styles 2.x. (and how to correctly implement it) (see media_vimeo)
- Testing if we could benefit from the media_vimeo module's way of replacing the

tags with an iframe. - Trying out some ways to implement a view page on the media browser popup for ustream (and what we could use it for)(latest videos/search users/search videos) and how to implement these in a proper way. - And lots more. (live shows are not working yet at the moment, but implementing this is getting closer and closer) Current attempt will be available soon at: https://github.com/ClusterFCK/media_ustream
mstrelan’s picture

These tags are irrelevant to the issue. Please read the issue tag guidelines.

rob c’s picture

Status: Needs work » Fixed

I'll close this issue, we now have a version available on git that works with the Media module.

Please test it and report back any issues that you find, so we can work towards a working release candidate. (But i believe we are pretty close already)

Thanks!

(just open up a new issue when you do)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.