← UI & UX Design

Música com o Frontpage

Lida 12509 vezes

Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

Também pode experimentar algo mais simples do tipo:

Código: [Seleccione]
<EMBED src="file.wav" autostart=true loop=true volume=100 hidden=true><NOEMBED><BGSOUND src="file.wav"></NOEMBED>
Offline

furriel 
Membro
Mensagens 54 Gostos 0
Troféus totais: 23
Trófeus: (Ver todos)
Level 5 Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts

<EMBED src="0010248.mid" autostart=true loop=true volume=100 hidden=true><NOEMBED><BGSOUND src="0010248.mid"></NOEMBED>

Inseri este código e mesmo assim não dá nada :(

Apenas mudei o nome do ficheiro.
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

E se for só assim:


Código: [Seleccione]
<embed src="beethoven.mid" autostart="true" loop="true" volume="100" />

Só vai funcionar correctamente no Internet explorer...
Offline

furriel 
Membro
Mensagens 54 Gostos 0
Troféus totais: 23
Trófeus: (Ver todos)
Level 5 Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts

Citação de: "fpware"
E se for só assim:


Código: [Seleccione]
<embed src="beethoven.mid" autostart="true" loop="true" volume="100" />

Só vai funcionar correctamente no Internet explorer...


Pois eu só uso o Mozilla
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

Então o problema está aí, mas mais de 93% dos utilizadores usam Internet explorer...

Eu, mais tarde, coloco aqui um código que funcione em firefox (agora vou ter de sair).

;) Até logo
Offline

furriel 
Membro
Mensagens 54 Gostos 0
Troféus totais: 23
Trófeus: (Ver todos)
Level 5 Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts

O Internet Explorer  sucks :(

Mas pareçe que vou ter que voltar a usar o IE :(

Só se o código que arranjares funcione tanto para o mozilla firefox como para o IE.

Obrigado
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

Citação de: "furriel"
O Internet Explorer  sucks :(

Mas pareçe que vou ter que voltar a usar o IE :(

Só se o código que arranjares funcione tanto para o mozilla firefox como para o IE.

Obrigado


Deixa ver o que é que se arranja. Eu também uso o mozilla, mas mais de 90% dos internautas usam o IE...
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

O problema aqui está com os plugins instalados. Nem o firefox, nem o ie conseguem ler a música sózinhos, por isso socorrem-se de plugins. O mais cross browser que existe será o quicktime.

O problema é que os visitantes que visitarem o site com firefox não escutarão a música se não tiverem o plugin instalado.

Link para download do Quicktime:
http://appldnld.m7z.net/qtinstall.info.apple.com/pthalo/us/win/QuickTimeFullInstaller.exe

Este código (testado) funcionará bem nos dois browsers. Só funcionará no Firefox se o quicktime estiver instalado:

Código: [Seleccione]
<EMBED SRC=0010248.mid WIDTH=0 HEIGHT=0 LOOP=1> <BGSOUND SRC=0010248.mid LOOP=1>
Offline

furriel 
Membro
Mensagens 54 Gostos 0
Troféus totais: 23
Trófeus: (Ver todos)
Level 5 Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts

Obrigado ;)

Este forum é mesmo muito bom. Parabéns, tens uns conhecimentos que nem te digo nada :D
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

Sempre às ordens ;)

Quanto ao conhecimento é algo que se vai obtendo todos os dias e acredita que há tipos muito melhores do que eu.