Welcome Guest! To enable all features please try to register or login.
2 Pages12>
Live MultiStation TV code by ganzas , feel free to use but dont delete the thanks section
Ganzas_T4E
#1 Posted : Sunday, October 26, 2008 7:10:16 AM(UTC)


Rank: Novice Forum Member

Joined: 7/20/2008(UTC)
Posts: 14
ATT: this TV requires you to have installed Microsoft silverlight plugin than you can download from Microsoft Silverlight, and that you have silverlight.js and wmvplayer.js (wich you can download anywhere) on the same site as your tv.html.
you can also insert a button bellow the tv so the guests of your zaby can download right away.
only support mms:// streaming very experimental code.


Script Section (advanced)

Attachwebbrowser
URL: http://nulika.xtreemhost.com/tv/tv.html (this will be your site and html)
off x: 300
off y: 100
off z: 300
scale : 2
with: 1000
height: 1000

update on

Stab Section (advanced)

Sprite
sprite fixed
web page
dont use minimaps

Live TV code - tv.html contents.





Code:

<HTML>
<HEAD>
<TITLE></TITLE>

<script type="text/javascript" src="silverlight.js"></script>
<script type="text/javascript"  src="wmvplayer.js"></script>

<script type="text/javascript">
<!--
function createPlayer(theContainer, theFile) {
    var cnt = document.getElementById(theContainer);
    var src = "wmvplayer.xaml";
    var cfg = {height:"700", width:"1024", file:theFile, autostart:"true"};
    var ply = new jeroenwijering.Player(cnt,src,cfg);
}


function init() {
    createPlayer("mediaspace", "");
}
function PlayIt() {

    createPlayer("mediaspace", document.getElementById('channel').value);
    document.getElementById("tst").focus();

}
//-->
</script>
<style type="text/css">
<!--
.text {
vertical-align: middle;
color: #d0d0d0;
}
input {
vertical-align: middle;
}

select{
      color : #d0d0d0;
      background-color : #000000;
      vertical-align: middle;
      font-size: 18px;
        font-weight: bold;
        font:18px Arial,Helvetica,sans-serif;
        BORDER-TOP: #d0d0d0 1px solid;
        BORDER-BOTTOM: #d0d0d0 1px solid;
        BORDER-LEFT: #d0d0d0 1px solid;
        BORDER-RIGHT: #d0d0d0 1px solid;}

-->
</style>



</HEAD>
<BODY onload="init()" bgcolor="black">

<div id="mediaspace"><a href="http://www.microsoft.com/silverlight/handlers/getSilverlight.ashx?v=2.0&v=1.0">Get SilverLight</a></div>

<div id="selectbox" name="selectbox">
      <select name="" id="channel" onchange="PlayIt()" size="1">

        <option value="">...Desligado </option>

        <option value="mms://vipnrj.yacast.net/nrj_tvhit"> NRJ TV HITS</option>

        <option value="mms://vipmms9.yacast.net/mcm_top"> MCM </option>

        <option value="mms://66.225.235.202/va92winlive2314">Kiss TV Spania</option>

        <option value="mms://live.mediaserver.kataweb.it/retea"> All Music</option>

        <option value="mms://live.primestream.com/KribTVLive"> Krib TV</option>

        <option value="mms://live.primestream.com/mezztv"> Mezz TV</option>

        <option value="mms://tvfly.server-tv.com/TVFLY/"> TV Fly</option>

        <option value="mms://80.237.157.98/musicchannel"> Music Channel</option>

        <option value="mms://morrich.gekimedia.net/MainStream500"> Music stream</option>

        <option value="mms://194.116.83.15/Hard and Heavy">Rock Hard</option>

        <option value="mms://194.116.83.15/Soft and Ballads">Rock Soft</option>

        <option value="mms://194.116.83.15/New">Rock New</option>

        <option value="mms://85.119.217.29/TMFLive">TMF</option>

        <option value="mms://194.116.83.15/New">PETN - Movies</option>

        <option value="mms://62.204.69.103/home_channel">MAXX - Movies</option>

       
      </select>

    <input type="image" src="left-arrow.png" width="22" height="22" value="" alt="" name="tst" id="tst" title="" hidefocus="true">
    <span class="text"><strong><font color="#d0d0d0" size="+2">Escolha o Canal</font></strong></span>

</div>
</BODY>
</HTML>
<!-- Made by ganzas_t4e , special thank you to frutoselvagem , xavier_devil , lady_wind, and all other friends from RLC -->



Just host tv.html on your site and change url , change option value to make your list of live stations , feel free to distribute and change , just dont remove the credits please

Love you Fruto !!


*** Currently working in a Voice system so you can talk to your guests inside your zaby.


dare_s
#2 Posted : Sunday, October 26, 2008 7:56:13 AM(UTC)


Rank: Veteran Forum Member

Joined: 2/13/2008(UTC)
Posts: 3,454
Location: Beyond Caring
we need the javascript files too?!
e.g.
<script type="text/javascript" src="silverlight.js"></script>
<script type="text/javascript" src="wmvplayer.js"></script>


I get an error

Line 14
Char 5
Error 'jeroenwijering' is undefined


also on a related note:

I have a page here:
http://www.rletc.com/1.htm plays perfectly in ie but when I put into a zaby all I get is sound - I can see the player and hear the stream but no more
Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title></title>
  </head>
  <body>   
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="480" height="360" codebase="http://www.microsoft.com/Windows/MediaPlayer/">
<param name="Filename" value="mms://62.204.69.103/home_channel">
<param name="AutoStart" value="true">
<param name="ShowControls" value="false">
<param name="BufferingTime" value="2">
<param name="ShowStatusBar" value="true">
<param name="AutoSize" value="true">
<param name="InvokeURLs" value="false">
<embed src="mms://62.204.69.103/home_channel" type="application/x-mplayer2" autostart="1" enabled="1" showstatusbar="1" showdisplay="1" showcontrols="1" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="480" height="360"></embed>
</object>
  </body>
</html>


any ideas? I have sprite, sprite fixed, webpage and no mipmaps selected.

tia
Ganzas_T4E
#3 Posted : Sunday, October 26, 2008 7:55:47 PM(UTC)


Rank: Novice Forum Member

Joined: 7/20/2008(UTC)
Posts: 14
yes you need those javascript files !

sorry not to mention.

Syivie
#4 Posted : Monday, October 27, 2008 3:01:54 AM(UTC)

Rank: Seasoned Forum Member

Joined: 2/18/2008(UTC)
Posts: 340
Great Ganzas it works.

However,could you add some (music and news) TV channels? (cnn, mtv' s, vox etc as long as its in English and or D)

Or is there a way we can change or make a page with the player and channels ourselves?
Ganzas_T4E
#5 Posted : Monday, October 27, 2008 3:36:23 AM(UTC)


Rank: Novice Forum Member

Joined: 7/20/2008(UTC)
Posts: 14
SYLVIA_feminoid wrote:
Great Ganzas it works.

However,could you add some (music and news) TV channels? (cnn, mtv' s, vox etc as long as its in English and or D)

Or is there a way we can change or make a page with the player and channels ourselves?


yes just change the options section to suite your needs in the code

Code:

        <option value="mms://85.119.217.29/TMFLive">TMF</option>

        <option value="mms://194.116.83.15/New">PETN - Movies</option>

        <option value="mms://62.204.69.103/home_channel">MAXX - Movies</option>


add the mms feeds you want , there are plenty free stations (only works with mms), just copy any option line add/change to your needs, will update the dropdown list =)

cheers
LrdLucius_PaP_MC
#6 Posted : Monday, October 27, 2008 5:05:39 AM(UTC)

Rank: Novice Forum Member

Joined: 7/2/2008(UTC)
Posts: 9
Medals:
ok people just to let you know this shit works...i did exactly what ganzas said and after major resizing it does work...now 1 issue i found is that anyone else coming in your apt has to have silverlight plug in downloaded...you know how it is to ask someone to do that, its like your trying to give them crabs or something. anyways that seems to be my only issue so far...oh and if your screen goes white you have to totally leave rlc then come back...should return to black...oh and you have to put a www in front off the url....


To Ganzas...
if you just copy the url you gave and didnt create a page and copy the code you CANT change the drop down menue list right? I dont know about creating a web page and all that so i just copied the url. Thanx
King_Woozle_HOT
#7 Posted : Monday, October 27, 2008 5:09:08 AM(UTC)

Rank: Novice Forum Member

Joined: 10/2/2008(UTC)
Posts: 27
Medals:
It was mentioned earlier that though this solution works, there currently aren't a lot of free american tv stations that are doing streaming television at least on the network side.
You can create an application that integrates with something like Hulu so you can watch specific episodes, but american tv stations are dicks, unless they control it they're not sharing jacks (See Youtube Suit). I asked Ganzas about this earlier, since I don't live in europe and specifically want my network tv shows like family guy, cartoon network, mtv, usa etc.

There are other stations you can get like http://www.justin.tv/ has a nice list, but so far its going to be custom content. Also Justin tv uses flash format. But just check around a majority of the live streaming, shows I've seen though use either flash or quicktime with the US, but thats only been my experience

If you want to use flash format you could just have to modify the embed to support flash. Its a relatively simple change, and since its using ajax you can update the content div with whatever content you want.

Also you don't have to have silverlight installed for an ajax player to work, especially one thats using windows media player, its only how he coded it.

Geekings,
Woozle

dare_s
#8 Posted : Tuesday, October 28, 2008 4:18:52 AM(UTC)


Rank: Veteran Forum Member

Joined: 2/13/2008(UTC)
Posts: 3,454
Location: Beyond Caring
I only get sound! Must be my client. This explains my previous post. As before it works perfectly in a browser windowThink

King_Woozle_HOT
#9 Posted : Tuesday, October 28, 2008 4:46:24 AM(UTC)

Rank: Novice Forum Member

Joined: 10/2/2008(UTC)
Posts: 27
Medals:
Well the link you posted works, so it might be that you're missing some of the js files he's talking about.

Woozle
dare_s
#10 Posted : Tuesday, October 28, 2008 4:52:26 AM(UTC)


Rank: Veteran Forum Member

Joined: 2/13/2008(UTC)
Posts: 3,454
Location: Beyond Caring
Woozle_BBK wrote:
Well the link you posted works, so it might be that you're missing some of the js files he's talking about.

Woozle


I don't need the js personally. The site with the webpage on it needs the js.

Actually if anyone wants to use the link above in their prop edit go ahead - just please invite me over to see/report back at how it's working.

Cheers
King_Woozle_HOT
#11 Posted : Tuesday, October 28, 2008 5:02:46 AM(UTC)

Rank: Novice Forum Member

Joined: 10/2/2008(UTC)
Posts: 27
Medals:
I would say double check your silverlight settings in Internet Explorer, perhaps a re-installation of silverlight. Or you can try using another method like straight javascript/ajax instead of silverlight. And again it doesn't sound like its a browser problem per say but something with how rlc is creating the window.

Woozle
dare_s
#12 Posted : Tuesday, October 28, 2008 5:06:29 AM(UTC)


Rank: Veteran Forum Member

Joined: 2/13/2008(UTC)
Posts: 3,454
Location: Beyond Caring
Woozle_BBK wrote:
I would say double check your silverlight settings in Internet Explorer, perhaps a re-installation of silverlight. Or you can try using another method like straight javascript/ajax instead of silverlight. And again it doesn't sound like its a browser problem per say but something with how rlc is creating the window.

Woozle


Made a slight edit to my post

+++Actually if anyone wants to use the link above in their prop edit go ahead - just please invite me over to see/report back at how it's working.

I think it may be my client seeing as I had similar problems with a straight-forward embed of http://www.rletc.com/1.htm (see post #2)

cheers
Ganzas_T4E
#13 Posted : Tuesday, October 28, 2008 5:33:07 AM(UTC)


Rank: Novice Forum Member

Joined: 7/20/2008(UTC)
Posts: 14
try change in props scale to 3 then back to 2 please.

dare_s
#14 Posted : Tuesday, October 28, 2008 5:41:15 AM(UTC)


Rank: Veteran Forum Member

Joined: 2/13/2008(UTC)
Posts: 3,454
Location: Beyond Caring
Ganzas_T4E wrote:
try change in props scale to 3 then back to 2 please.


Nope - doesn't help. Have you tried using my link url in your zaby?

I think it's my uv client is the problem.
King_Woozle_HOT
#15 Posted : Tuesday, October 28, 2008 6:40:05 AM(UTC)

Rank: Novice Forum Member

Joined: 10/2/2008(UTC)
Posts: 27
Medals:
I did and I can see it just fine.


Woozle
dare_s
#16 Posted : Tuesday, October 28, 2008 6:48:04 AM(UTC)


Rank: Veteran Forum Member

Joined: 2/13/2008(UTC)
Posts: 3,454
Location: Beyond Caring
Woozle_BBK wrote:
I did and I can see it just fine.


Woozle


Thanks - I appreciate that. Now I know it's my uv client not anything else.

Think I'll try the install for vv - I've heard that can solve some probs. The webpage itself works fine for me.

Cheers
_megalloneos_
#17 Posted : Tuesday, October 28, 2008 8:24:58 AM(UTC)

Rank: Novice Forum Member

Joined: 9/15/2008(UTC)
Posts: 1
Medals:
I have a same problem, I can hear the sound and cannot see the picture in the zaby, but webpage itself works fine.
Dont know what to do with it. If anyone knows, please reply, same problem as clares. Thanks.
_fiddy
#18 Posted : Tuesday, October 28, 2008 7:46:58 PM(UTC)

Rank: Novice Forum Member

Joined: 5/6/2008(UTC)
Posts: 10
Medals:
this is a great tv link


http://www.channelchooser.com/
Syivie
#19 Posted : Tuesday, October 28, 2008 11:24:49 PM(UTC)

Rank: Seasoned Forum Member

Joined: 2/18/2008(UTC)
Posts: 340
Ganzas_T4E wrote:
SYLVIA_feminoid wrote:
Great Ganzas it works.

However,could you add some (music and news) TV channels? (cnn, mtv' s, vox etc as long as its in English and or D)

Or is there a way we can change or make a page with the player and channels ourselves?


yes just change the options section to suite your needs in the code

Code:

        <option value="mms://85.119.217.29/TMFLive">TMF</option>

        <option value="mms://194.116.83.15/New">PETN - Movies</option>

        <option value="mms://62.204.69.103/home_channel">MAXX - Movies</option>


add the mms feeds you want , there are plenty free stations (only works with mms), just copy any option line add/change to your needs, will update the dropdown list =)



Hi,

Where do I change the code? Cant even find it, cuz I added your link and it works.
Please explain where and how to change the code.

When I click on the player yesterday, over 10 pages opened! (spy ware - advertisements)
Not today.

King_Woozle_HOT
#20 Posted : Wednesday, October 29, 2008 11:34:24 AM(UTC)

Rank: Novice Forum Member

Joined: 10/2/2008(UTC)
Posts: 27
Medals:
Sylvia,

I'm a little confused, if you're using his link then the code is something he'll have to change.

To change the code, you'll have to make your own webpages, put in the code, and store them on a server. Then you can change the code however you want.
Again like he said could only add in mms links unless you change his code to function with other filetypes like flash, or quicktime.



For the person who mentioned channel chooser:
Channel Chooser is based on flash and won't work with his script. You again can modify his script to use other file types and formats. To dismantle channel chooser so you can create your own, you can use use some browser tools to get the code behind channel chooser.

Geekings,
Woozle
Users browsing this topic
Guest (5)
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.318 seconds.
TC-IIS-7
3.146.176.88