Notices


Reply
Thread Tools
Posts: 75 | Thanked: 4 times | Joined on Nov 2010
#1
Anybody here know of any good greasemonkey scripts to open online videos to mplayer or the media player on the n900 or populate a link to view on any of the players available?
 
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#2
This might be interesting but I suspect the media-player is too closely linked to microB's UI to be able to redirect streams to an alternative. If it's a Flash stream that won't play with the media player, can you use rtmpdump and play the content offline?
 
Posts: 75 | Thanked: 4 times | Joined on Nov 2010
#3
Ive downloaded rtmdump but never used it because I just didnt know what to do with it. I have managed to get some dvix movies to lay on the n900s media player after I installed greasemonkey. If there was a video that couldnt play on the browser, there'd be a small arrow in the movie box. when I click on it, the media player would pop up and start playing the video. Any interruptions would cause the video to play from the beginning though and there was no use of any ulilities to go backwards or foward or pause etc. Im assuming that greasemonkey was the addon that populated the player but I havent been getting it to work recently. It might be because I have the mplayer addon installed and thats whats blocking it from doing that. However I know for a fact that the native media player can play a divx video from the browser with a click. I just dont know what app or plugin is allowing it and why it doesnt have the option of doing it for all videos which is what I am loooking for. since flash 10.1 or 11 wont be coming to the n900, this would be a very useful tool to have. if its possible to do it with divx video it should be able to do it for most if not all. The question is how and what script or plugin to use to get it to work.Ive been trying to stream videos using the xterminal per mplayer but havent gotten a single one to work. anybody who knows of any method to do this, please let us know because it would make the n900 that much better.
 
Posts: 2 | Thanked: 1 time | Joined on Jun 2011
#4
I've installed debian chroot with iceweasel (firefox in debian) and in it added the extension mediaplayerconnectivity.
So when visiting sites which by the page author should ha player inside, the mediaplayerconnectivity finds the url and can deliver it to the mediaplayer you select.
 
Posts: 75 | Thanked: 4 times | Joined on Nov 2010
#5
Ive actually tried iceweasel and it crashes all the time. is there a script that stops it from doing this and where did you get the transfer stream to media player from. Thanks.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#6
I would love for a Grease Monkey script, that if you ever click on a YouTube link from a post in a forum, it would execute this javascript instead that would just immediately download the video rather than going directly to the site.



javascript:isIE=/*@cc_on!@*/false;isIE ? swfHTML=document.getElementById('movie_player').ge tElementsByTagName('param')[1].value:swfHTML=document.getElementById("movie_play er").getAttribute("flashvars");w=swfHTML.split("&" );for(i=0;i<=w.length-1;i++)if(w[i].split("=")[0] == "url_encoded_fmt_stream_map"){links=unescape(w[i].split("=")[1]);break;}abc = links.split(",url=");for(i=0;i<=abc.length-1;i++){fmt=abc[i].split("|")[0];if ((fmt.indexOf("flv") > 0) && (fmt.indexOf("large") <= 0) && (fmt.indexOf("medium") <= 0)){if (fmt.indexOf("rl=") > 0){url = fmt.substring(4,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}else{url = fmt.substring(0,fmt.indexOf("fallback_host")-1);url = unescape(unescape(url));break;}}}combineurl = url;combineurl = combineurl + '&title=' + ((((document.title.replace('#',' ')).replace('@',' ')).replace('*',' ')).replace('|',' ')).replace(':',' ');window.location.href = combineurl.substring(0, 2000);



Is this something that is even possible?
 
Posts: 10 | Thanked: 0 times | Joined on Nov 2011
#7
Did anyone on this page manage to find a solution to opening online movies to a mediaplayer? Please update if you have, thanks
 
Posts: 75 | Thanked: 4 times | Joined on Nov 2010
#8
I havent. I dont even have greasemonkey in my addons page even though the app manager is telling me that the plugin is there. I have the mediaplayer pluin but that only works for some dvix videos that wont play in the browser. I wish I could get a choice for any and all videos to either play on the browser or on media player. A plugin like that would be great as it would make any depency on a flash upgrade kinda irrelavant.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:06.