Looking for Wii compatible Javascript Flash mp3 player

时间秒杀一切 提交于 2019-12-06 10:49:22

You can't have a JavaScript-enabled player without ExternalInterface. The audio code has to be all in the flash file.

I'm on the same quest. I think I may have found the answer, or close enough: Xspf Jukebox. It has a Javascript API and there's even a Wii skin. I haven't actually got it working yet, I'll update when I do.

Update: I was able to get this working with a few sample mp3s included in my website. I haven't got Javascript control working on the Wii (Opera) but it does work in IE. I did struggle a bit to get the skin working -- you have to download the skin.xml file, set the skin_url parameter to the path containing the skin, and set the dimensions appropriately. My current code is:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="400" id="flashObject" align="middle">
        <param name="movie" value="xspf_jukebox.swf?playlist_url=playlist.xml&skin_url=Wii/" />
        <param name="wmode" value="transparent" />
    </object>

I'm running this as an ASP.NET site on Windows Home Server. I primarily listen to complete albums and my library (60,000+ tracks) is organized by album artist\album\track, so I'm thinking of writing code to traverse the file system and generate a playlist dynamically from the contents of a folder.

Soundmanager2 should probably work, you might have to set flashVersion = 8 in the setup, apparently that's what version of flash Wii/Opera is using.

oh and if not that whatever is inside WiiTransfer works, because I can stream music to my tellybox from my macbook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!