# How to point an swf to flv when both files hosted on CMS

**URL:** <https://forum.kirupa.com/t/how-to-point-an-swf-to-flv-when-both-files-hosted-on-cms/251749>\
**Category:** flash\
**Created:** [February 12, 2008, 10:05am UTC](https://forum.kirupa.com/t/how-to-point-an-swf-to-flv-when-both-files-hosted-on-cms/251749 "2008-02-12T10:05:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcurrid](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@pcurrid](https://forum.kirupa.com/u/pcurrid)\
**Post date:** [February 12, 2008, 10:05am UTC](https://forum.kirupa.com/t/how-to-point-an-swf-to-flv-when-both-files-hosted-on-cms/251749/1 "2008-02-12T10:05:29Z")

</div>

Hi guys,  
I’m not sure there’s an easy work around for this, but here goes.  
I have to create a page containing video that can be CMS managed.  
I have it working when I embed video within an swf and upload it to CMS, the problem here is I can’t add controls to it for play/pause. Can this be done?? If not…

I tried to use swf to point to flv and stream video, this does not work on CMS,  
because it cannot locate flv. Both files exist in a database as opposed to a particular directory (/video) because of CMS.

Any ideas how to get around this? can I somehow dynamically tell the swf where the flv file is?
