I received from the client .flv files, and used SWF Tools to embed a different video in the right sidebar of each page.
Now the client wants that changed, to .swf files. (I understand that both the .swf file and accompanying .flv file need to be present for this to work).
Do I still use SWF Tools, or something else?
Thanks in advance.
John
SWF Tools will work just fine. The SWF file basically just serves as a conduit through which the FLV is streamed.
Check out the media module.
Related
I've tried looking for a solution but I cannot find one everyone seems to be using online sources and no one actually shows how to use videos from the local folder.
I want to have a folder under Assets for Android and Resources for iOS called Videos and store all necessary videos there. I don't have a clue how to access them tho to add to my source for MideaElement from Xamarin Community Toolkit.
I found a solution for embedded images but it doesn't work the same for videos. YouTube Video
IDK if they need to be embedded or not, or can I just access them with a relative path of sort?
I've read the documentation for MediaElement and their local way of access videos but I do not understand it with thing like ms-appx:/// & ms-appdata:/// where do they point to? where do I put my own resources? how do I use that to access my own resource? So many questions but 0 answers.
This is the documentation on MediaElement.
Thanks in advance :)
The docs you link to explain exactly where to place the files on each platform
On iOS, media files must be stored in the Resources folder, or a subfolder of the Resources folder. The media file must have a Build Action of BundleResource.
On Android, media files must be stored in a subfolder of Resources named raw. The raw folder cannot contain subfolders. The media file must have a Build Action of AndroidResource.
I have archive website application, this software for archive all document a company. Admin this software upload any extension in this software like AutoCAD, images(png,gif,...), pdf file, etc, I want when user select a file show this file in viewer in browser, But I do not know what tool to use, please help me, thanks all.
Create an image from every file uploaded. Show that to end users.
There is no tool or component that will allow you to show all propriety file formats that exists today.
For every pariticular file format that you wont to support you must have code that understands that format, AFAIK component suite for ASP.NET that have biggest number of supported file formats is Aspose.NET :
http://www.aspose.com/.net/total-component.aspx
I am using Adobe Flash Builder 4 trial version.
I created one abc.mxml application which is working fine in the IDE. Now, I want to use the generated abc.swf in one of my application so I copied
abc.swf
abc.html
and related .js and .css files
to some other location in the file system. After that when I tried to launch the abc.html in the browser, nothing was appearing in the browser.
After that I copied the whole flex project at some other location and tried to launch the same abc.html file. Even that was also not working.
I don't know what's the problem.
Edited ============================================================================
My money is on sandbox security issue. Either keep the files under bin-debug to prevent it or add your folder and flash file to be allowed in the Flash Security Settings.
This is cross-site scripting situation, read this: http://kb2.adobe.com/cps/142/tn_14213.html.
You launch abc.html (which consist adc.swf) from one domain ("file:///c: ..."), but refers for data from another (is there you red5 installed, probably localhost).
Create cossdomain.xml in the root directory in ther server (red5).
I use the Windows Media Player Control (WMP.DLL) in my application to download (stream) and show videos. Once the video file is fully downloaded, I would like to save it to disk. Unfortunately I can't find a way to do so. I thought of using a hack: probably WMP does not hold the whole file in memory, so it must be somewhere on disk as temp file - but where?
So, in short: does anybody know how to tell WMP control to save a streamed video to disk? (The Windows Media Player knows how to to it, it has a 'Save as' command, so there must be a way to do it.)
Thanks,
Jo
A workaround might be to check the temporary internet files folder - the file might be there.
That did it, thanks! I don't even have to search for the files manually , I can use URLDownloadToFile. If Windows finds the file in Temporary Internet Files, it just takes it from there instead of downloading it again. Problem solved!
I have a swf that is run from C:/ in the browser instead of a server (long story) and that swf loads a video that it located at ../../videos/video in relation to that swf.
Problem is, When I run it in Flex, everything is cool. Running locally, it can't find the file (not a security error) and is throwing a connectionError.
Any ideas?
NOTE: This seems to be a Windows specific problem, it's running on my mac with the same security settings just fine.
Flex Builder has a file that it adds all of your bin directories to in order to allow the debug player to get around the local security restrictions.
Here's a blog post on the subject.
Essentially Flexbuilder tells Flash that it should trust the bin folder... if you do a search on your development machine for the file flexbuilder_plugin.cfg, you should find it in a folder called FlashPlayerTrust in roughly the same area you normally find SharedObject files. If you open this file in a text editor, you should see pretty much every path to every bin folder for every flex project you have ever worked on. And suddenly everything gets so much clearer.
You can do as fenomas suggests and add any directory to your trusted list. You can also follow the advice from the above blog post.
So I created a new file and placed it next to this flexbuilder_plugin.cfg file, and called it MyProggy.cfg. Flash is configured to read in all files in this folder and parse all paths out of it, and any applications run from these paths will be considered "localTrusted" and will act as they would when run from Flexbuilder. Inside this text file I put one line: "c:\program files\my proggy" and saved it. I then had to restart Firefox for the change to take effect. I also had added a text label to my application and bound the text property to {Security.sandboxType}.
I would suggest getting HTTPFOX for Firefox which is a sniffer. Then you can see what is failing. In my own search I found that FLV's are always relative to the SWF, even when loaded on the WEB. Every asset that I have loaded is relative to the index.html file except for FLV's which always remain relative to the SWF. Being able to watch the data flowing, or attempting to flow to your site is invaluable.
This also explains why some people have no issue loading thing locally but then run into problems on the web. If their html file that is loading the swf is in a different location than the swf then every asset other than FLV's have a different relative path when viewed online then they do when viewed locally.