Get your own customer support community

Recent activity

Subscribe to this feed
  • question

    cosmophobia asked a question in Schillmania! on November 02, 2009 10:32:

    cosmophobia
    How to check a file's playability!?
    Hello,

    is it posible to check an uploaded file, if it is playable via soundmanager!?
    I think checking the extensions/mime isn't enough.
  • question

    A comment on the question "Soundmanager 2 doesn't work with a download-script." in Schillmania!:

    cosmophobia
    Ok, I found out, what was wrong:

    The script was checking the referrer th prevent hotlinking. This doesen't seem to work with soundmanager 2.

    I think I have to use it without hotlinking-protection!? – cosmophobia, on September 27, 2009 08:42
  • question

    A comment on the question "Soundmanager 2 doesn't work with a download-script." in Schillmania!:

    cosmophobia
    I was trying several headers, but none works.

    These headers are set:
    header("Content-Description: File Transfer");
    header("Content-Type: $mtype");
    header("Content-Disposition: attachment; filename=\"$fName\"");
    header("Content-Transfer-Encoding: binary");
    header("Content-Length: " . $fsize);

    What do you think is missing?

    The debugoutput says:
    SMSound._onload(): "AV31" failed to load? - /libPhp/iFrame/download.php?id=3&key=047ab3fb7c02aac621d695ebb9be7b94
    soundManager.load(): /libPhp/iFrame/download.php?id=3&key=047ab3fb7c02aac621d695ebb9be7b94
    SMSound.play(): Attempting to load "AV31"
    SMSound() merged options: { id: AV31, url: /libPhp/iFrame/download.php?id=3&key=047ab3fb7c02aac621d695ebb9be7b94, autoLoad: false, stream: true, autoPlay: false, onbeforefinishtime: 5000, onjustbeforefinishtime: 200, multiShot: true, multiShotEvents: false, pan: 0, volume: 100 }
    soundManager.createSound(): AV31 (/libPhp/iFrame/download.php?id=3&key=047ab3fb7c02aac621d695ebb9be7b94)
    soundManager.onload() complete
    soundManager.initComplete(): calling soundManager.onload()
    -- SoundManager 2 loaded (OK) --
    (Flash): Enabling polling
    Flash security sandbox type: remote
    (Flash): _externalInterfaceTest(): JS to/from Flash OK
    Attempting to call Flash from JS..
    -- soundManager.init() --
    soundManager._externalInterfaceOK()
    (Flash): Flash to JS OK
    soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
    soundManager._initMovie(): Got EMBED element (created via JS)
    soundManager._createMovie(): Trying to load .//libJs/soundmanagerv2/swf/soundmanager2.swf
    -- SoundManager 2 V2.95a.20090717 (AS2/Flash 8), normal polling mode -- – cosmophobia, on September 26, 2009 16:28
  • question

    cosmophobia asked a question in Schillmania! on September 22, 2009 09:13:

    cosmophobia
    Soundmanager 2 doesn't work with a download-script.
    Hello,

    using soundmanager with direct-links works great, but on my website it is planed to make files only avaiable through a download-script (a PHP-Script which gets a id as parameter, checks the rights & if ok, gives back the filecontent (headers are set too)).

    The Script works for downloading through a browser, but soundmanager says, that there is no file.

    What do I have to consider when using/writing a download-script, so it can be used with soundmanager 2!?