HTML网站的音乐播放器 [英] Music player for HTML website

查看:327
本文介绍了HTML网站的音乐播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从一个潜在的客户那里得到一个简短的介绍,让我完全陷入困境。我不知道这是如何构建的!后端将是WordPress,这是我一直在做的事情。这里的catch;


  • 首页将有一个Flash动画。这可以通过使用插件和swiffy作为html5从Flash中导出。

  • 客户坚持要在整个网站上播放音乐。如果这还不够糟糕,他们需要一个不断循环的音乐,当你改变页面时不会停止播放...纠正我,如果我错了,但这是不可能的!




我有两个解决方案。 1)做一个flash网站 - 我认为这是垃圾,我甚至不想尝试连接闪光灯WP。 2)使用jQuery导航制作一个单页风格的html网站,以便滑动用户。我知道这不是很好的搜索引擎优化,但它比闪光更好。这样音乐就没有了。我已经展示了客户端,他们不想要一个页面的网站,但我认为他们会去与闪光(urgghhh ..)所以 - 任何人都可以告诉我的第三个选择..?是否可以不中断地在网站上播放音乐?我发现的最好的事情是一个Flash播放器,而不是暂停页面上的音乐并记住播放位置。这是尽可能接近,我可以得到。

我知道网站上的音乐一般都是垃圾的,但是这对客户的优先级列表来说似乎是非常高的!

任何想法?感谢您的参与!

解决方案

同意这是一个不好的要求。但是,如果你必须。最简单的方法是使用一个iframe。

所以入口页面是一个准系统的html页面,你可以在角落(或任何你想要的地方)包含链接到您实际网站入口页面的iframe。


I've got a brief from a potential client that has gotten me TOTALLY stuck. I have no idea how this is possible to build! The backend will be WordPress, which is something I do all the time. Here's the catch;

  • the front page will have a flash animation. This may be exported from flash as html5 using a plugin and "swiffy"

  • The client is adamant on having music throughout the website. If that's not bad enough they want a constant piece of music on a loop that doesn't stop playing when you change pages...correct me if I'm wrong but that's not possible?!

I have two solutions for the job. 1) Make a flash website - I think this is rubbish and I don't even want to TRY and connect flash to WP. 2) Make a "one page" style html site with jQuery navigation to slide the user around. I know it's not as good for SEO but it's better than flash. That way there is no break in the music. I've showed the client and they don't want a one page site, but I think they would go with flash (urgghhh..)

So - can anyone tell me of a third option..? Is it possible to play music on a site without a break? The best thing I found was a flash player than pauses music on a page change and remembers the play position. That's as close as I can get.

I know music on a site is a rubbish idea generally, but this seems to be very high on the clients priority list!

Any ideas?? Thanks for taking a look!

解决方案

Agreed this is a bad request. But... if you must. The easiest way would be to use an iframe.

So the entry page is a barebones html page with your small music control in the corner (or wherever you want it) and iframe which holds the link to your actual site entry page.

这篇关于HTML网站的音乐播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆