zero-cool Posted June 22, 2008 at 11:09 AM Report Share #192764 Posted June 22, 2008 at 11:09 AM Viva, Estou a tentar fazer um LoadSound usando o URL em HTTPS, ou melhor, por outras palavras, um LoadSound de uma animação carregada via HTTPS e com "relative paths" para o stream da música (imaginemos https://site.com/m.swf e sound.loadSound("musica/m.mp3") ). Acontece que quando não forço HTTPS usando .htaccess, funciona bem. Quando o forço, o som não é carregado. Alguma ideia? Abraço, Link to comment Share on other sites More sharing options...
fnds Posted June 22, 2008 at 11:13 AM Report Share #192768 Posted June 22, 2008 at 11:13 AM zero-cool, não precebi bem a tua duvida, "forças" como? Link to comment Share on other sites More sharing options...
zero-cool Posted June 22, 2008 at 11:15 AM Author Report Share #192769 Posted June 22, 2008 at 11:15 AM zero-cool, não precebi bem a tua duvida, "forças" como? No .htaccess: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Fiz um edit na mensagem anterior. 😛 Link to comment Share on other sites More sharing options...
zero-cool Posted June 22, 2008 at 11:17 AM Author Report Share #192770 Posted June 22, 2008 at 11:17 AM Hummm.. secção errada. Enganei-me. É em ActionScript. Alguém pode mudar por favor? Link to comment Share on other sites More sharing options...
djthyrax Posted June 22, 2008 at 12:04 PM Report Share #192777 Posted June 22, 2008 at 12:04 PM Sem forçares o HTTPS, faz loadsound a um script PHP onde podes ver se estás a usar HTTPS ou não. Não peças ajuda por PM! A tua dúvida vai ter menos atenção do que se for postada na secção correcta do fórum! Link to comment Share on other sites More sharing options...
zero-cool Posted June 22, 2008 at 12:21 PM Author Report Share #192781 Posted June 22, 2008 at 12:21 PM Sem forçares o HTTPS, faz loadsound a um script PHP onde podes ver se estás a usar HTTPS ou não. O objectivo é usar tudo em HTTPS, por isso penso que não vale a pena fazer essa verificação. O que não entendo é por que é que o som não é aberto para a stream usando HTTPS... Link to comment Share on other sites More sharing options...
djthyrax Posted June 22, 2008 at 01:34 PM Report Share #192800 Posted June 22, 2008 at 01:34 PM Já experimentaste dar-lhe o URL completo com HTTPS? Não peças ajuda por PM! A tua dúvida vai ter menos atenção do que se for postada na secção correcta do fórum! Link to comment Share on other sites More sharing options...
zero-cool Posted June 22, 2008 at 01:52 PM Author Report Share #192805 Posted June 22, 2008 at 01:52 PM Já experimentaste dar-lhe o URL completo com HTTPS? Não. Vou tentar. Já agora, só não funciona no IE 7. Com o firefox funciona lindamente. Link to comment Share on other sites More sharing options...
zero-cool Posted June 22, 2008 at 01:56 PM Author Report Share #192807 Posted June 22, 2008 at 01:56 PM Já experimentaste dar-lhe o URL completo com HTTPS? Igual. Com URL completo usando HTTP funciona, com HTTPS não funciona. Problema só em IE 7. Link to comment Share on other sites More sharing options...
zero-cool Posted June 26, 2008 at 11:38 AM Author Report Share #193633 Posted June 26, 2008 at 11:38 AM Ninguém sabe o que se pode estar a passar? Usando HTTPS e firefox funciona bem, mas com IE 7 não funciona. Não entendo porque sempre achei que flash usava uma tecnologia independente do browser, mas parece não ser bem assim... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now