Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 3.0 (http://www.flasher.ru/forum/forumdisplay.php?f=83)
-   -   Как запустить rtm потоковое видео на сайте (http://www.flasher.ru/forum/showthread.php?t=165824)

Modiljani 27.08.2011 02:08

Как запустить rtm потоковое видео на сайте
 
Как запустить rtm потоковое видео на сайте через флеш плеер

у меня флеш сайт, и возможности штмл страницы там нету, есть тока возможность подгрузить swf-ку

вот примеры кода на штмле
Код:

<script type="text/javascript" src="http://static.flowplayer.org/js/flowplayer-3.2.6.min.js"></script>


<!-- setup player normally -->
<div style="background: black; width:630px; height: 471px; vertical-align: middle; text-align: center" id="swf_online_player">


</div>


<script language="javascript">
$f("swf_online_player", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {


clip: {
url: 'live1',
live: true,
provider: 'mukachevo_net'
},
// streaming plugins are configured under the plugins node
plugins: {


mukachevo_net: {
url: 'flowplayer.rtmp-3.2.3.swf',
// netConnectionUrl defines where the streams are found
netConnectionUrl: 'rtmp://195.234.148.10/live'
}
}
});
</script>

или
Код:

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='290' id='single1' name='single1'>
<param name='movie' value='player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=live1&streamer=rtmp://195.234.148.10/live'>
<embed
type='application/x-shockwave-flash'
id='single2'
name='single2'
src='player.swf'
width='470'
height='290'
bgcolor='undefined'
allowscriptaccess='always'
allowfullscreen='true'
wmode='transparent'
flashvars='file=live1&streamer=rtmp://195.234.148.10/live'
/>
</object>



Часовой пояс GMT +4, время: 08:50.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.