Jump to content
Wilshire

.m4a music file as iframe src

Recommended Posts

I made a lyrics website for a cd that I like, and at the bottom of each page file I have an iframe with the src of that song so that you can play it as you read the lyrics. The file loads into the iframe and quicktime takes over and gives it's menu for stoping/playing etc. The problem is that once I've uploaded the page and the song onto a server, whenever I go to the site it prompts me if I want to download that song, instead of playing it through the iframe. Does anyone know how to fix this?

...<iframe src="music_file.m4a" height="18px" width="320px"></iframe>...

Share this post


Link to post
Share on other sites

Does the browser have a plug-in for handling the file? If not, that could be the problem. Either that, or you told IE* to not play files in the browser.*IE normally shows IFRAMES, some programs like Firefox recently have added IFRAME support. Please check this... because I assume IE.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×