RedGIFs iframe Sound Helper

Provide facilities to automatically enable RedGIFs audio in embedded iframes, and for communication regarding audio controls between the the hosting site and the iframe.

Ezek a szkript azon változatai, ahol a kód módosítva lett. Minden verzió mutatása

  • v1.4.1 2024.02.10.

    Added play and pause functionality

    Made commands use switch statement like an adult

  • v1.3.0 2024.02.10.

    Renamed to RedGIFs Embed Enhancer

    Implemented several addtional functions (querystring loop and link, post-commands loopOn, loopOff, linkOn, and linkOff)

    Added a way to communicate to the parent context that this script is in use

    Added a way to signal end of video to the parent context

  • v1.2.0 2024.02.08.

    Improved the logic for the soundOff and soundOn postMessage commands; before, if it received an instruction to turn off sound before the iframe finished loading when the query string turned sound on, the command would be ignored. Now it doesn't do that.

  • v1.1.2 2024.02.07.

    Fixed a null that should have been an undefined causing SOUND_DEFAULT to break (such an amateur)

  • v1.1.1 2024.02.07.

    Documentation change only.

    Described the setup this was made to work with, and one on which it is known broken.

  • v1.1 2024.02.07.

    Expanded options for query string; added explicit no-sound options; implemented and documented defaulting behavior (defaults to sound off) if no explicit sound option was given.

  • v1 2024.02.07.