Pogledajte određenu poruku
Staro 19. 01. 2012.   #1
USBboy
član
Na probnom radu
 
Datum učlanjenja: 07.11.2011
Poruke: 38
Hvala: 17
0 "Hvala" u 0 poruka
USBboy is on a distinguished road
Default Kako uraditi livestream preko nekog embedded video playera

Pokusavam da ugradim na sajtu embedded video player, tacnije flowplayer, koji ima na sajtu uputstvo kako da se validno podesi, medjutim opet iskrsnu neki problemi.

http://flowplayer.org/demos/installation/index.html

Dodam liniju:

<script type="text/javascript" src="flv/flowplayer-3.2.6.min.js"></script>

u <head> delu

Dodam sledeci kod u div-u koji pripada delu gde zelim da pustim live streaming:

<!-- player container. display:block not needed-->
<div style="width:425px;height:300px;" id="player"></div>

<!-- this script block will install Flowplayer inside previous DIV tag -->
<script language="JavaScript">
flowplayer(
"player",
"http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf",
"http://pseudo01.hddn.com/vod/demo.flowplayervod/flowplayer-700.flv"
);
</script>




naravno u flv folderu se nalaze potrebni fajlovi,

flowplayer-3.2.7.swf

flowplayer.controls-3.2.5.swf

Video player pusta ovaj fajl sa demo linka sa strane sajta flowplayer, medjutim kako da pustim u ovom playeru neki moj live streaming, nesto poput:

http://www.gledajuzivo.com/watch_tv/TV_Srbija/RTS1.html

Gde gresim?
USBboy je offline   Odgovorite uz citat