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.

Đây là phiên bản của script này, nơi mã nguồn đã được cập nhật. Hiện tất cả các phiên bản.

  • v1.4.1 10-02-2024

    Added play and pause functionality

    Made commands use switch statement like an adult

  • v1.3.0 10-02-2024

    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 08-02-2024

    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 07-02-2024

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

  • v1.1.1 07-02-2024

    Documentation change only.

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

  • v1.1 07-02-2024

    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 07-02-2024