Help on writing Plugin for sites which are javascript enabled
#16
Thanks for your reply.

Ok then I won't bother wasting time trying to create plugin for this site.

Thanks
Reply
#17
I'm not saying to give up, maybe try to search some more the existing posts on the RTMP part and what tools to use to find it, or just leave it simmer for a while...
Reply
#18
Ok will keep looking..

Below is another link which has javascript but I am not able to find the actual video source from the livestream player -

Link
http://www.mallufms.com/2009/05/malluglitz.html

Source before execution of script

Code:
class='textheadersmall'>Please refresh the page if the player doesn't play!</div><div id='mallutvimagesdiv'>Loading...</div><script>iImageIndex=8;document.write(setmallutvimages(8));bTVzone=true;</script>

Source after execution of script

Code:
<div class="textheadersmall">Please refresh the page if the player doesn't play!</div><div id="mallutvimagesdiv"><script src="http://static.mogulus.com/scripts/playerv2.js?channel=malluglitz&amp;backgroundColor=0x222222&amp;backgroundAlpha=1&amp;backgroundGradientStrength=0&amp;chromeColor=0x333333&amp;headerBarGlossEnabled=false&amp;controlBarGlossEnabled=false&amp;chatInputGlossEnabled=false&amp;uiWhite=false&amp;uiAlpha=0.5&amp;uiSelectedAlpha=1&amp;dropShadowEnabled=true&amp;dropShadowHorizontalDistance=1&amp;dropShadowVerticalDistance=1&amp;paddingLeft=11&amp;paddingRight=1&amp;paddingTop=1&amp;paddingBottom=1&amp;cornerRadius=1&amp;backToDirectoryURL=http://tamilfms.com&amp;bannerURL=http://tamilfms.com&amp;bannerText=TamilFMs%20TV%20Zone&amp;bannerWidth=1&amp;bannerHeight=1&amp;showViewers=false&amp;embedEnabled=false&amp;chatEnabled=false&amp;onDemandEnabled=false&amp;programGuideEnabled=false&amp;fullScreenEnabled=true&amp;reportAbuseEnabled=false&amp;gridEnabled=false&amp;initialIsOn=true&amp;initialIsMute=false&amp;initialVolume=10&amp;contentId=null&amp;initThumbUrl=null&amp;playeraspectwidth=4&amp;playeraspectheight=3&amp;mogulusLogoEnabled=false&amp;width=700&amp;height=650&amp;wmode=window" type="text/javascript"></script></div><script>iImageIndex=8;document.write(setmallutvimages(8));bTVzone=true;</script><script src="http://static.mogulus.com/scripts/playerv2.js?channel=malluglitz&amp;backgroundColor=0x222222&amp;backgroundAlpha=1&amp;backgroundGradientStrength=0&amp;chromeColor=0x333333&amp;headerBarGlossEnabled=false&amp;controlBarGlossEnabled=false&amp;chatInputGlossEnabled=false&amp;uiWhite=false&amp;uiAlpha=0.5&amp;uiSelectedAlpha=1&amp;dropShadowEnabled=true&amp;dropShadowHorizontalDistance=1&amp;dropShadowVerticalDistance=1&amp;paddingLeft=11&amp;paddingRight=1&amp;paddingTop=1&amp;paddingBottom=1&amp;cornerRadius=1&amp;backToDirectoryURL=http://tamilfms.com&amp;bannerURL=http://tamilfms.com&amp;bannerText=TamilFMs%20TV%20Zone&amp;bannerWidth=1&amp;bannerHeight=1&amp;showViewers=false&amp;embedEnabled=false&amp;chatEnabled=false&amp;onDemandEnabled=false&amp;programGuideEnabled=false&amp;fullScreenEnabled=true&amp;reportAbuseEnabled=false&amp;gridEnabled=false&amp;initialIsOn=true&amp;initialIsMute=false&amp;initialVolume=10&amp;contentId=null&amp;initThumbUrl=null&amp;playeraspectwidth=4&amp;playeraspectheight=3&amp;mogulusLogoEnabled=false&amp;width=700&amp;height=650&amp;wmode=window" type="text/javascript"></script><div id="mogulus_12540930645912804"><embed type="application/x-shockwave-flash" src="http://static.livestream.com/grid/PlayerV2.swf?version=303" style="" id="mogulus_player_new_12540930645895008" name="mogulus_player_new_12540930645895008" bgcolor="#222222" quality="high" allowscriptaccess="always" allowfullscreen="true" flashvars="version=11&amp;backgroundColor=0x222222&amp;allowFullScreen=true&amp;allowScriptAccess=always&amp;channel=malluglitz&amp;backgroundAlpha=1&amp;backgroundGradientStrength=0&amp;chromeColor=0x333333&amp;headerBarGlossEnabled=false&amp;controlBarGlossEnabled=false&amp;chatInputGlossEnabled=false&amp;uiWhite=false&amp;uiAlpha=0.5&amp;uiSelectedAlpha=1&amp;dropShadowEnabled=true&amp;dropShadowHorizontalDistance=1&amp;dropShadowVerticalDistance=1&amp;paddingLeft=11&amp;paddingRight=1&amp;paddingTop=1&amp;paddingBottom=1&amp;cornerRadius=1&amp;backToDirectoryURL=http://tamilfms.com&amp;bannerURL=http://tamilfms.com&amp;bannerText=TamilFMs%20TV%20Zone&amp;bannerWidth=1&amp;bannerHeight=1&amp;showViewers=false&amp;embedEnabled=false&amp;chatEnabled=false&amp;onDemandEnabled=false&amp;programGuideEnabled=false&amp;fullScreenEnabled=true&amp;reportAbuseEnabled=false&amp;gridEnabled=false&amp;initialIsOn=true&amp;initialIsMute=false&amp;initialVolume=10&amp;contentId=null&amp;initThumbUrl=null&amp;playeraspectwidth=4&amp;playeraspectheight=3&amp;mogulusLogoEnabled=false&amp;wmode=window" height="650" width="700"></div><div style="display: none;"><a href="http://www.quantcast.com/p-caea5A8f9YSRU" target="_blank"><img src="http://pixel.quantserve.com/pixel/p-caea5A8f9YSRU.gif" style="display: none;" alt="Quantcast" border="0" height="1" width="1"></a></div>


Please let me know if there is way to find the actual path from livestream players and if it will play in xbmc ..

I tried above method and firebug also but could not figure out - maybe I am doing something wrong..

please guide..

Thanks
Reply
#19
You seem to be hung on to your JavaScript code... in most cases it's not possible to get the stream URL from the webpage code, or starting from there, but the other way around, using tools like Fiddler or Wireshark to look at the data traffic and trying to make a relation between that and the page you are trying to view, so you can come up with a way to generate the URL from the information you have.
Reply

Logout Mark Read Team Forum Stats Members Help
Help on writing Plugin for sites which are javascript enabled0