Adding a Flash movie with the built-in FLV player


show more Adding a Flash movie with the built-in FLV player provides you with in-depth training on Developer. Taught by Daniel Short as part of the ColdFusion 9 New Features show less
please wait ...

Adding a Flash movie with the built-in FLV player

Once again, we are going to make "hard things" easy in ColdFusion by using the new cfmediaplayer tag to embed an FLV into a page. The cfmediaplayer tag lets you embed an FLV and do some basic formatting of the Media Player without having to use any sort of object or embed tags. This lets you embed a simple FLV player into any page without to need open Flash and build or export your own player. So in the Chapter8 folder, I have an assets folder which contains a surfing.flv file, and we are going to open up mediaplayer.cfm and I already have a basic media player on this page.

So I have cfmediaplayer. I will give it a name in case I want to be able to access it via any sort of JavaScript or custom JavaScript functionality. And then I specify the source, which in this case is assets/surfing.flv. So let's go to Safari and take a look at our page. We will go to Chapter8/mediaplayer.cfm and if I just press Play, then we can see the video playing. I have a scrubber down at the bott...

Adding a Flash movie with the built-in FLV player
Video duration: 2m 14s 2h 40m Intermediate

Viewers:

Adding a Flash movie with the built-in FLV player provides you with in-depth training on Developer. Taught by Daniel Short as part of the ColdFusion 9 New Features

Subjects:
Developer Web
Software:
ColdFusion
Author:
please wait ...