我需要在我的网站上添加视频/音频网址。
例如:我从嵌入标记的“src”获取此代码
http://www.ndtv.com/common/videos/flash/player/new-wrapper/NDTVVideoPlayer.swf?1384167757
它不起作用。
请建议如何获取正确的网址, 媒体播放器是'MP Plyaer'
答案 0 :(得分:0)
像这样嵌入您的SWF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Embed SWF</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("http://www.ndtv.com/common/videos/flash/player/new-wrapper/NDTVVideoPlayer.swf?1384167757", "myContent", "300", "120", "9.0.0");
</script>
</head>
<body>
<div id="myContent">
<p>NDTV SWF</p>
</div>
</body>
</html>