Developing a flash resource which runs FLV files from within it as pro
gressive. It works ok on my local testing computer/network server. But when I put it online it does not play.
I opened up the components panel for each FLV and noticed they were absolutely linked to my network drive (obviously when online this linking will now work). So i changed all the linking to be relative and some warning windows did come up and say i was breaking the link but i ignored them because i don't care about how it runs locally...i want this resource to work online!
But now the FLVs will not playback locally or online! I need some help....something that it might also be is I am uploading this resource to an LMS called Janisons (perhaps they are not FLV through flash playback - friendly).
Is there any particular path of troubleshooting I could go along? Because I have just about tried everything i know!
Thanks in advance.
UPDATE: I changed back one of the FLVs parameters to link to local drive in the component parameters - and as expected, it runs fine locally but when previewd in chrome (which might i add has some great debugging features that you could only dream of finding in IE) i get the following message:
SecurityError: Error #2148: SWF file http://my.tafe.qld.gov.au/GLC/GLC_Food_Hospitality/GLC_SITHFAB009A_TQC_A/Scenario/barMenu.swf cannot access local resource G:\Resource Development\RD\2009-2010\ITG 4\Food&Bev\RSA\Online\Resources\Scenario\Scenario4_Staff_Responsibility\ExpensiveArvo2.flv. Only local-with-filesystem and trusted local SWF files may access local resources. at flash.net::NetStream/play() at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_play() at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream() at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load() at fl.video::VideoPlayer/load() at fl.video::FLVPlayback/doContentPathConnect()
Geez I feel like a numbskull.
I had identified the problem correctly (linking) - but i only just found out that the linking is relative to the placement of the SWF file within the folder structure - NOT THE HTML FILE IT IS EMBEDDED WITHIN. I'm just so used to considering everything relative to the HTML page in previous versions of Flash (i.e. when coding external website links).
This site gave me the quick answer I needed:
I can have a good sleep tonight now!
PS - I have never answered my own question before....