Personal tools

Views

Talk:Flash-Ajax Video Component

From Adobe Labs

Table of contents
[edit]

Welcome!

Welcome to the Flash-Ajax Video Component discussion page on Adobe Labs. Please enter your comments regarding this technology here. To help identify the author of comments, please create a new section and use ~~~~ at the end of your talk entries to automatically create a signature.

Comments should be added in list format, but feel free to add your comment under an existing comment to follow a thread structure. If you are responding to a thread, please use the H3 style for your subject (=== TEXT ===) so that the page is easier to read.

To discuss Flash-Ajax Video Component with the community, please use the Labs forum

Daniel T 17:27, 26 Jul 2007 (PDT)

[edit]

Not seeing videos when viewing the example HTML files

I downloaded the zip. On both a mac and a win pc I do not see videos with both example files. Might something be wrong with the package?

Urs Hunkler 10:06, 28Jul 2007 (PDT)

[edit]

Response

I'm not having trouble so I don't think it's the a problem with the download -- it's possible the problem you've run into is related to where the video is located. When a local web page connects to video on a website (such as if you are developing/testing locally), a security dialog will be displayed by the Flash Player. This can be disabled for testing -- details are in this documentation: http://livedocs.adobe.com/flash/8/main/00001611.html

AdrianLudwig10:30, 2 August 2007 (PDT)


[edit]

Error playing Video

Hi, I'm trying to run the examples locally. I've changed the security options, but I get this error:

Firefox 2.0.0.6
uncaught exception: Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.].
Line 0


Internet Explorer 6:Unkown Exception line 48

Debuging with Microsoft Script Editor
an exception occurs "script block" line 49
return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));

Jose Montiel 09:48, 11 Aug 2007 (PDT)

[edit]

FAVideo with ASP.NET Webforms.

Hello,

I am trying to use the FAVideo component with an asp.net webform and cannot get it to work. The problem lies in the
tag being inside of a form tag. Code follows at the end of this email. If move the
tag outside the <form> tag everything works but I lose functionality.

Any ideas on how to make this work ?

Thanks, SK -=-

<form id="form1" runat="server">

       <script type="text/javascript">

playerOne = new FAVideo("divOne", "http://musc.edgeboss.net/download/musc/videos/2007/3dtechnologymed_prog001.flv",0,0,{ autoLoad:true, autoPlay:true }); </script> </form>

this component is busted

I have my global security settings setup correctly. I've attempted to demo this component on my local machines (mac & pc) and on an apache server and no matter what I do no video whatsoever loads or plays.


This component works nicely, I am only having trouble with two issues:

  • When I add Cue Points to the FLV it doesn't return the data in the event returned from Flash. I am trying to facilitate Captioning Support Embedded within the movie. (Added the following code to FAVideo.as to duplicate the cuepoint object)

static var refCount;

private function duplicate(cuePoint:Object):Object { var obj:Object = new Object(); obj["blah"] = "test"; if ( refCount == undefined) { refCount = 0; } refCount++; if ( refCount > 4 ) { refCount--; return;

} if ( typeof(cuePoint) == "object" ) { for ( var prop in cuePoint) { if ( typeof(cuePoint[prop]) != "object" ) { obj[prop] = cuePoint[prop]; } else { obj[prop] = duplicate(cuePoint[prop]); } } }


refCount--; return obj; }

and changed private function onNetStreamCuePoint(cuePoint:Object):Void { sendEvent('cuePoint', duplicate(cuePoint)); }

  • When I try to open the ".fla" file to try to modify the cuepoints returned event it tells me unsupported version. I have tried using Flash MX Pro, Flash MX 2004 Pro, Flash 8 Pro. All of these have the same results. (downloaded demo of CS3 and it opens and works)
  • I would also like to know if there is an easy way to embed this component as an embed tag by itself. I want users to be able to view the videos on my page with captioning and then be able to have a simple embed tag they can place into there pages to contain the video and apply any settings i may want to apply.

Michael Schmidt 10:07 07 September 2007 (PDT)

Problem with FireFox

In IE, when I hide the DIV container and then unhide it, the video continues from where it left off. In FireFox it starts the video from the beginning and it reloads the file from the server so I cannot use seek to get back to where I was. I tried using display:none and visibility:false and they both do the same thing.

This is a real problem since I need to cover the video at different times. I have discovered that if I just put something over the video without hiding the div then the video shows through whatever is on top of it.

Any ideas on how to get around this problem?

mchahn 10:55, 8 Sep 2007 (PDT)

Firefox

mchahn, What version of Firefox you used? I use mp3/20071127 Firefox/2.0.0.11 - no problems

Streaming?

No RTMP streaming support? Is there any documentation?

--Adam Leckron 07:11, 1 Feb 2008 (PST)

No Video, Just Audio... sometimes

So I'm having this problem where the video will play... without the video portion. It just plays the audio. This has nothing to do with security issues as all the local settings have been set. It's just playing without the video part. Any ideas? Thanks.

+dk

--Derek Kinsman 15:14, 6 March 2008 (EST)

Drive Favideo with javascript

Hi all,

I'm seeking howtos to use javascripts commands to drive Favideo but all i found are the commands we can read in the html source code of the zip file.

I would like to start/stop the player when users lunch another player instance in a fullscreen window (Thx to the amazing Shadowbox script because the favideo don't use the fullscreen mode  :uglllll: or i don't found yet how to too !!) but i must understand the javascript code in the examples given but it is not always so simple.

My problem is i don't know which variables are available and which one i can use with javascript and i don't know javascript enought. Where can we found all the parameters we can modify on fly ?

Like the very good Jeroen Wijering FLV player, i thought it was possible and easy to make it working...

So, if i have to reopen the flash sources to seek all variables i prefer to use another one :( and any way, i can no longuer use again a new demo trial.

PLZ help, thx
Retrieved from "http://labs.adobe.com/wiki/index.php/Talk:Flash-Ajax_Video_Component"