플래시 스트리밍 소스를 불러오지 않고 직접 갖다 붙이면 영상이 안나옵니다.
본문
<script type='text/javascript'>document.write('<iframe width="640" height="460" scrolling="no" frameborder="0" scrolling="no" allowtransparency="true" src="http://cdn.tiv.pw/stream12.html"></iframe>');</script>
위의 스트리밍 소스를 가져다 붙이면 영상이 잘 나옵니다...
그런데 위 스트리밍 소스 경로 http://cdn.tiv.pw/stream12.html 의 아래 소스를 직접 가져다 붙이면 영상이 나오지 않습니다.
나오게 할 수 없을까요???
-------------------- 아 래 ---------------------
<html> | |
<head> | |
<title></title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script> | |
<script type='text/javascript' src='http://4372f0f736b94c17980f-72149a3bba3a67bfaa92318a7ed89a98.r76.cf1.rackcdn.com/swfobject.js'></script> | |
<script type='text/javascript'> | |
$(document).ready(function(){ | |
$(".close").click(function(){ | |
$(this).parent(".Advertisement").remove(); | |
$(".drt, .message").hide(); | |
}); | |
var seconds = 21; | |
var cuenta = setInterval(function(){ | |
seconds--; | |
if (seconds == 0) { | |
$(".close").show(); | |
$('.message').html("."); | |
clearInterval(cuenta); | |
} | |
},10); | |
}); | |
</script> | |
<style> | |
body { | |
margin:0; | |
padding:0; | |
background:#fff; | |
position:relative; | |
} | |
.close { | |
width:8px; | |
height:8px; | |
position: absolute; | |
display:none; | |
} | |
.floater { | |
width:640px; | |
height:480px; | |
position:absolute; | |
left:0; | |
bottom:25px; | |
} | |
.drt { | |
right:0; | |
bottom:0; | |
width:650px; | |
height:30px; | |
background:#fff; | |
opacity:0; | |
filter:alpha(opacity=0); | |
position:absolute; | |
} | |
.Advertisement { | |
position:absolute; | |
} | |
.Advertisement iframe{ | |
opacity:0.7; | |
filter:alpha(opacity=70); /* For IE8 and earlier */ | |
position:absolute; | |
left:0; | |
top:0; | |
background:#fff; | |
} | |
.Advertisement .close { | |
left: 20px; | |
top: 20px; | |
} | |
.Advertisement .close2 { | |
top:auto; | |
bottom:10px; | |
width:8px; | |
height:8px; | |
} | |
#Advertisement1 { | |
width:300px; | |
height:250px; | |
left:50%; | |
bottom:65px; | |
margin: -125px 0 0 -150px; | |
background:#fff; | |
} | |
#Advertisement2 { | |
width:700px; | |
height:70px; | |
left: 0; | |
bottom: -5; | |
background:#fff; | |
} | |
#sportodin { | |
max-height:600px; | |
} | |
.message { | |
position:absolute; | |
top:0; | |
color:#444; | |
left:0; | |
font-size:11px; | |
} | |
</style> | |
</head> | |
<body> | |
<div style="position:relative"> | |
<div id="playerflash">Flash player not working</div> | |
<script type="text/javascript"> | |
var flashvars = { | |
'file': 'stream12', | |
'streamer': 'rtmp://rtmp.tiv.pw:1935/redirect', | |
'autostart': 'true', | |
'abouttext': '', | |
'aboutlink': '', | |
'logo.link': '', | |
'skin': '', | |
'logo.linktarget': '_blank', | |
'logo.hide': 'false', | |
'rtmp.fallback': 'false', | |
'provider': 'rtmp', | |
'logo.position': 'top-left' | |
}; | |
var params = { | |
'allowfullscreen': 'true', | |
'allowscriptaccess': 'always', | |
'wmode': 'opaque' | |
}; | |
swfobject.embedSWF('http://97ff0e7e610f20512dbe-483e6ce63d68aeb3d05af6c054efb801.r29.cf1.rackcdn.com/atdedead.swf', 'playerflash', '640px', '460px', '9', 'false', | |
flashvars, params); | |
</script> | |
<div class="drt"><!-- unfull --></div> | |
<div class="floater"> | |
<div class="Advertisement" id="Advertisement1"> | |
<!-- BEGIN STANDARD TAG - 628 x 80 - : Run-of-site - DO NOT MODIFY --> | |
<iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="300" height="250" SRC="http://static.surk.tv/ad300f2.html"></iframe> | |
<!-- END TAG --> | |
<img class="close" src="http://4372f0f736b94c17980f-72149a3bba3a67bfaa92318a7ed89a98.r76.cf1.rackcdn.com/closey.gif" /> | |
</div> | |
<div class="Advertisement" id="Advertisement2"> | |
<iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="700" height="90" SRC="http://static.surk.tv/ad728f2.html"></iframe> | |
<img class="close" src="http://4372f0f736b94c17980f-72149a3bba3a67bfaa92318a7ed89a98.r76.cf1.rackcdn.com/closey.gif" /> | |
</div> | |
</div> | |
</div> | |
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-26981618-1']); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
})(); | |
</script> | |
</body> | |
</html> | |
답변을 작성하시기 전에 로그인 해주세요.