Skip to main content
March 21, 2011
Question

Can CF read current time from a video playing on page?

  • March 21, 2011
  • 1 reply
  • 711 views

I would like to be able to play a video on a webpage and synchronize content changes on the page as the video plays. One example would be having PowerPoint slides change on the page as a video presentation played. Is there anything built into CF that would assist in this? Thanks!

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    March 21, 2011

    Not built into ColdFusion, because ColdFusion runs on the server, and a playing video would be running on the client.  These computers could be thousands of miles apart.

    Now with Flash, Flex, AIR clients, there are probably plenty of ways to do something like you are desiring.  But those technologies are covered more thoroughly in forums dedicated to them.

    Now if you want to tie these events to new requests for more data from the ColdFusion server, the latest ColdFusion does offer several options that might very well tie into whatever is created for the Client side.

    March 21, 2011

    Thanks for the quick reply. I've seen this done with javascript, but I'm js illiterate. I thought I had seen some .NET programming that automatically wrote the js for you, and thought there might be an CF equivilent. It seems like something like this should be pretty easy to accomplish, but CF alone may not be able to do it.

    ilssac
    Inspiring
    March 21, 2011

    BLI10 wrote:

    It seems like something like this should be pretty easy to accomplish, but CF alone may not be able to do it.

    Yes ColdFusion is very capable of dynamically generating JavaScript code to be sent to the client, and has many wizard tags that do just that.  But none for Video that I know of.... let me try a Google Search...

    I'm back.  There is the <CFMediaPlayer...> that apperently, according to the documentation, includes some hooks for Custom JavaScript functions for OnLoad, OnStart and OnEnd events, but that seems to be it.

    I would expect that for more then that, Adobe is expecting developers to create their own JavaScript and|or ActionScript.  Now if any developer has done this and released it to the public, I don't know.  That would take a more indepth internet search then I attempted.