maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Iplayer User Agent approach (https://talk.maemo.org/showthread.php?t=49361)

mayfairman 2010-04-06 19:04

Iplayer User Agent approach
 
Hi,
I have been thinking around ways to get iPlayer working while waiting for the possibility of hardware acceleration, and decided to try changing the user agent to that of the iPhone Safari browser:-
From -
Firefox\3.5 Maemo Browser 1.5.6 RX-51 N900
To -
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16

This worked surprisingly well and the site is now browsable etc etc, but there seems to be a java way of linking the streams in with the iphone media player, is there anyway to link this up with the media player on the N900, this seems to be the part of the source covering the jave pointer:-
"<a href="javascript:playMedia('b00rs6t7','b00rs63k',' video');" class="clicktoplay" id="clicktoplay"><img src="http://static.bbc.co.uk/mobile/iplayer3/r3-2095/img/360x640_226dpi/ui-clicktoplay_button.png" alt="Click to Play" height="100" width="122"/></a>"

This was the source from the page to play the new Doctor Who video based on this page -
http://www.bbc.co.uk/mobile/iplayer/episode/b00rs6t7

and at this DL location -
http://download.iplayer.bbc.co.uk/ip...1_b00rs63k.mp4

Any ideas?

Thanks:)

Dancairo 2010-04-06 19:50

Re: Iplayer User Agent approach
 
Do you know that iplayer works through the browser perfectly well?
see this post for very simple instructions:-

http://talk.maemo.org/showthread.php?t=44571

mayfairman 2010-04-06 19:53

Re: Iplayer User Agent approach
 
Hi Dancairo, yes, I had read that, but not sure if BBC has done something to the bitrate or size on that site, but it no longer works, well not for me on 18Meg wifi connection with nothing else open.

Thanks

Dancairo 2010-04-06 20:29

Re: Iplayer User Agent approach
 
Hi
yes, the bbc changed the site and the original method stopped working but the new one (see EDIT3 in my first post) works very well, even over 3g. confimed working by many now.
Have another try and let me know...maybe have a look at the link from Jaymontana, he's posted a great guide with pics...

http://mynokiablog.com/2010/04/02/ho...-old-solution/

mayfairman 2010-04-06 20:40

Re: Iplayer User Agent approach
 
Well Dan, you are indeed a legend sir! Thank you very very much, I must have got lost in the edits on the original post, many apologies, but thanks again for the help.

Thanks
Peter:)

Dancairo 2010-04-06 21:01

Re: Iplayer User Agent approach
 
Peter, you are most welcome....glad to have helped :-)

mayfairman 2010-04-07 08:28

Re: Iplayer User Agent approach
 
Mmm, I'm not sure if I am a victim of very bad timing here, but this worked like an absolute dream last night, but however, this morning when I click on the pop-out button, it then tells me 'To play or download xxxxxxx you need to enable JavaScript.'

Have they changed it just as I had it working?

Please say it ain't so, can someone check if it is just me or if this has indeed been de-loopholed?

Thanks
Peter:confused:

Pigro 2010-04-07 08:51

Re: Iplayer User Agent approach
 
it is working fine for me as of now

Dancairo 2010-04-07 09:05

Re: Iplayer User Agent approach
 
Hi Peter,...
I just tried it on three different programs and it worked fine for me, not sure why it's playing up for you though, maybe a reboot might help? I'm certainly no expert though....

Dan

mayfairman 2010-04-10 12:55

Re: Iplayer User Agent approach
 
Thanks Dan, carried on the same for a few dates with multiple reboots, then just started working again, very odd. Anyway, thanks again.:D

Peter


All times are GMT. The time now is 02:26.

vBulletin® Version 3.8.8