douye7033 2009-12-14 09:24
浏览 62
已采纳

如何在网站上嵌入/流式传输网络电台?

I can use, for example, something like

<object id="MediaPlayer" width="300" height="50" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Live Player components..." type="application/x-oleobject" CODEBASE="http://activex.microsoft.com/activex/controls/ mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

to embed a mediaplayer. But the problem is if I navigate to another webpage on the site it stops and then users have to select thier channel and play it again. I want it as something like, if users are homepage they select their fav channel and play it. so later if they are on, say, page123.php, they radio shouldn't stop playing. Can you help me sorting it out?

  • 写回答

1条回答 默认 最新

  • dongyou4411 2009-12-14 09:30
    关注

    You have two options:

    • Frames/Iframes, with one (tiny/invisible) frame containing the player and the other the next page - not recommendable for usability and SEO reasons (Users can't bookmark pages anymore, among other things)

    • A pop-up window.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥30 最小化遗憾贪心算法上界
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。