Sign up here and you can log into the forum!

DailyMotion Plugin

UMSP Plugin Depot, the place for sharing plugins & info about them. No requests, just plugins/code.

Re: DailyMotion Plugin   

Postby eskay » Mon Jul 09, 2012 10:37 am

Code: Select all
header( "Location: $url" );
//Needed for header
ob_flush();

Thanks 4 putting option. But this was the first fix tried by me.
The behavior of the dailymotion is un-predictable... not found any thing till now...one day its work fine and other day... :(
User avatar
eskay
Developer
 
Posts: 130
Joined: Mon Aug 02, 2010 12:56 pm
Location: SWITZERLAND

Re: DailyMotion Plugin   

Postby helloworld123 » Mon Jul 09, 2012 1:45 pm

Hi all, [ ;) ] Sorry for the delay, as was out of town for few weeks, Now back and give my fix to my friend to test it out. and guess what it worked like a charm......,

So let me share my findings:-

I wrote a java application to stream the DM video's and that worked without a problem in first attempt. Then tried to TCP dump for my app and umsp dm plugin to find out the differences. While comparing the tcp dump date couldn't find much diff in both apps. except the culprit port ":80" which we explicitly setting in dm-proxy while redirecting. plugin was working earlier, which tell me that DM recently updated there server policies to restrict port 80 on there redirected severs.

So cut the long story short, dev of this plugin please remove/change the ":80\r\n" to "\r\n" and it will start working as expected.....

Hope this helps to resolve the DM issue for now, until some other changes implemented on DM servers..

:D :mrgreen:
User avatar
helloworld123
WDTVer
 
Posts: 26
Joined: Tue Jun 26, 2012 8:11 am

Re: DailyMotion Plugin   

Postby helloworld123 » Mon Jul 09, 2012 2:02 pm

fix line # 136
Code: Select all
$out .= 'Host: ' . $host . ":80\r\n";
to
Code: Select all
$out .= 'Host: ' . $host . "\r\n";
in DM proxy

this will fix the current issues with DM
User avatar
helloworld123
WDTVer
 
Posts: 26
Joined: Tue Jun 26, 2012 8:11 am

Re: DailyMotion Plugin   

Postby mad_ady » Mon Jul 09, 2012 9:21 pm

That explains why the problems didn't make much sense :) What a strange change to make...
User avatar
mad_ady
Developer
 
Posts: 3028
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: DailyMotion Plugin   

Postby eskay » Tue Jul 10, 2012 1:27 pm

That's nice @helloworld123. Thanks a lot and welcome..
@mad_ady : should i checked in the fix.... I have checked in the fix... looks fine .. i have checked couple of videos
User avatar
eskay
Developer
 
Posts: 130
Joined: Mon Aug 02, 2010 12:56 pm
Location: SWITZERLAND

Re: DailyMotion Plugin   

Postby t3rror_ » Wed Jul 18, 2012 7:17 am

Thanks alot for the fix. Works like a charm.
t3rror_
n00b
 
Posts: 5
Joined: Wed Jun 06, 2012 6:42 pm

Re: DailyMotion Plugin   

Postby helloworld123 » Fri Feb 15, 2013 10:09 pm

Hi All,

Good news for the Daliymotion viewers. Just fixed the issue with the Dailymotion iusse caused unable to play media error. Dm changed quite a bit the way they handled the URL's, spend some good amount of time on this to figure out. Just need to do some device testing and polishing before release to general masses.

@reqlic @mad_ady @eskay
I am little disappointed as still awaiting for my SVN access..? Any help would be appreciated.

Peace && nJoy
User avatar
helloworld123
WDTVer
 
Posts: 26
Joined: Tue Jun 26, 2012 8:11 am

Previous

Return to UMSP Plugins

Who is online

Users browsing this forum: No registered users and 2 guests