PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Webradio mit Flash hören
Beitrag
<blockquote data-quote="David_" data-source="post: 1312733" data-attributes="member: 265601"><p><strong>AW: Webradio mit Flash hören</strong></p><p></p><p>Au vielen dank, hab ich mal wider nich dran gedacht ...</p><p></p><p>Sieht jetzt so aus:</p><p>[code] System.security.allowDomain("*");</p><p></p><p> System.security.allowInsecureDomain("*");</p><p></p><p> var intervalID;</p><p></p><p> // We create a function called ?Stream? containing -among other things- the server address.</p><p></p><p> function stream(){</p><p></p><p> _global.sound = new Sound ();</p><p></p><p> // The following address needs, of course, to be modified, in accordance with your server address.</p><p></p><p> sound.loadSound("http://broadcast.infomaniak.net:80/energydance-high.mp3", true);</p><p></p><p> sound.start();</p><p></p><p> }</p><p></p><p> // We create a function that stops the playback, that deletes the buffer and then restarts the playback.</p><p></p><p> function clearBuffer(){</p><p></p><p> sound.stop();</p><p></p><p> delete sound;</p><p></p><p> stream();</p><p></p><p> }</p><p></p><p> // The following lines need to be deleted if the playback doesn?t need to be started automatically while launching the player.</p><p></p><p> // We execute the ?stream? function : the playback starts.</p><p></p><p> stream();</p><p></p><p> // We launch the ?clearBuffer? every 360000 ms.</p><p></p><p> intervalID = setInterval(clearBuffer, 360000);[/code]Hab das mal exportiert, aufgemacht, dann kam ganz kurz was vlt ne Sekunde und dann nixmehr, is bis jetzt auchnichmehr passiert, an was könnte das liegen?</p></blockquote><p></p>
[QUOTE="David_, post: 1312733, member: 265601"] [b]AW: Webradio mit Flash hören[/b] Au vielen dank, hab ich mal wider nich dran gedacht ... Sieht jetzt so aus: [code] System.security.allowDomain("*"); System.security.allowInsecureDomain("*"); var intervalID; // We create a function called ?Stream? containing -among other things- the server address. function stream(){ _global.sound = new Sound (); // The following address needs, of course, to be modified, in accordance with your server address. sound.loadSound("http://broadcast.infomaniak.net:80/energydance-high.mp3", true); sound.start(); } // We create a function that stops the playback, that deletes the buffer and then restarts the playback. function clearBuffer(){ sound.stop(); delete sound; stream(); } // The following lines need to be deleted if the playback doesn?t need to be started automatically while launching the player. // We execute the ?stream? function : the playback starts. stream(); // We launch the ?clearBuffer? every 360000 ms. intervalID = setInterval(clearBuffer, 360000);[/code]Hab das mal exportiert, aufgemacht, dann kam ganz kurz was vlt ne Sekunde und dann nixmehr, is bis jetzt auchnichmehr passiert, an was könnte das liegen? [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 7, ▼ = 3, ◇ = 2 und die Summe von ▲ und ▼ durch ◇ geteilt wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Webradio mit Flash hören
Oben