Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old November 25th, 2001, 09:17 PM
mack mack is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 1 mack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
HTML code for mid files

I currently maintain a family web site and would like a certain mid file to play continuously while visitors view 5 pages at the site that were created to celebrate a family member's birthday.

Currently, each of the five pages is set up separately with the song included in the following code <EMBED src="song.mid" loop="3">.

When a visitor selects "next page" the song starts again at the begining. Is there any way to have the song play continuously - without starting over - until the visitor is finished viewing the last page?

Thank you for your assistance!

Mack

Reply With Quote
  #2  
Old November 25th, 2001, 09:50 PM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,632 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 12 m 33 sec
Reputation Power: 77
Send a message via AIM to Hero Zzyzzx
spawn a pop-up window (do a google search for "javascript pop-up window") that has the <EMBED> tag in it. This window will then sit and play the midi file while the person browses, without interruption.

Or create your site with a left and right (or top and bottom. . . whatever you like) frame. Put the midi control in the left frame, but have the new pages appear in the right frame (look into named frames, and then the "target" attribute of an anchor ref). Because the left frame doesn't change while the person browses, the midi will play uninterrupted.

Otherwise, I believe the midi will restart when the page is reloaded, unless you put it in a section that doesn't reload (hence the pop-up and the non-refreshing frame I suggested above)

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > HTML code for mid files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway