Question: Can I shut down the sound of a Flash anim using PHP script

Discussion in 'PHP' started by Anto1982, May 12, 2009.

  1. #1
    Hi everybody!

    I've got a quick question: I'm currently allowing my registered users to upload flash animation on my website.

    Then, thoses animations are displayed on the web.

    Is there any way to systematically shut down the sound of flash anim when displayed...? (I don't want to review all the flash anim to check if there is some sound inside or not!).

    Thanks a lot for your advices!

    Best Regards,

    Anto
     
    Anto1982, May 12, 2009 IP
  2. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No, because PHP is serverside, and Flash is clientside, so short of somehow decompiling or discovering a parameter for the sound (assuming the developer made a parameter), you can't disable the sound.
     
    kblessinggr, May 12, 2009 IP
  3. Anto1982

    Anto1982 Peon

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi kblessinggr!

    Thanks for your prompt reply... This is a bad news... but it answered my question 100%...

    Thanks!

    Anto
     
    Anto1982, May 12, 2009 IP
  4. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #4
    I would aim for using clear guidelines for flash uploads, and make a report flash system for your users to report offending uploads.
     
    jestep, May 12, 2009 IP
  5. Anto1982

    Anto1982 Peon

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi Jestep,

    I understand the clear guidelines :-D... But for the report flash system... What do tou mean by that:

    - Put the new uploaded flash in a waiting list until it has been approved by myself... (this is a possible workaround)
    - Create a scripts that detects sounds... (?) => I'm interested in this solution...!
    - Allow user to report a flash with sound (too late!)...

    Thanks a lot for your help!

    Anto
     
    Anto1982, May 12, 2009 IP
  6. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No, he means as in users reporting them to you. I don't think there is a script short of another flash applet capable of detecting sound, and even then how do you know the visitor isn't just playing their own music. Its never too late to implement that :p
     
    kblessinggr, May 12, 2009 IP
  7. pixmania

    pixmania Peon

    Messages:
    229
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    How are you displaying the flash files, is their no capability to add a mute hidden function?
     
    pixmania, May 12, 2009 IP
  8. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #8
    You can use Javascript onload to shut the sound off, however, you will need to create a flash proxy to show the flash items - simliar to a flash player that shows flash files.

    Peace,
     
    Barti1987, May 12, 2009 IP
  9. Anto1982

    Anto1982 Peon

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hi Azizny,

    Thanks, I will have a look fro the onload javascript.

    Anto
     
    Anto1982, May 13, 2009 IP