Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Javascript + Quicktime setRate() issue

  • Javascript + Quicktime setRate() issue

    Posted by Chris Lyons on December 13, 2007 at 5:11 pm

    Hey everyone,

    I’ve recently been experimenting with javascript and quicktime and have encountered a very frustrating issue with the quicktime plug-in.

    What I’m looking to do is to be able to slow down a movie using setRate() without changing the pitch of the audio. Here is a mock-up of what I have so far:

    https://www.theseare.net/work/video_mockup/video_mockup.html (Use the “1/2 Speed On/Off” button)

    I initially tested this using Safari in Mac OS X. Using setRate() to slow the video to 1/2 speed worked fine and the pitch remained the same. Great. Unfortunately when I tested the page in Firefox the speed changed as well as the pitch! It seems that the QT pitch and speed controls are linked in Firefox. I tested the page in Safari, IE, and Firefox in Windows as well and experienced similar problems. The strange thing is, aside from it working correctly in OS X Safari, that in the standalone version of QT it works fine (for Mac and Windows). If you change the speed in the A/V controls the pitch is not affected.

    So now the questions: Does anyone know why this is happening? Is there a way to independently control the pitch of a QT movie via javascript?

    Any insight will be greatly appreciated. Thanks!

    Chris Lyons replied 18 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Abraham Chaffin

    December 14, 2007 at 7:48 pm

    Hey Chris,

    Poked around a bit as I’m sure you have as well and found these pages.

    –1–
    –2–

    Neither of these have references to changing pitch using javascript. This third page refers to changing pitch and using this functionality in javascript but you’ll probably have to test the functions to see if it actually can be used on the web.

    –3–

    Good luck!

    Abraham

  • Chris Lyons

    December 17, 2007 at 2:40 pm

    Thanks for the lead Abraham! Much appreciated. I’ll let you know how things go

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy