Following a point in an embedded video

I'm working with Actionscript 3.0 and I'm working on a project that requires me to know where a certain point in a video is at all times and have it relay that information to me via trace. I'm having a hard time figuring out how to select a point within the video and getting that point to move with the subject.
Any tips?

Oh that is something else entirely. I'm still not understanding what (and why) you are trying to do what you are trying to do.
Generally you won't be able to do a frame by frame playback of a video within Flash. Possibly if the video is an h.264, but certainly not if it is using the On2 Vp6 codec.
But otherwise you could just do something like this:
import flash.geom.Point;
import flash.display.MovieClip;
var clip:MovieClip;
var myPoints:Array=new Array();
clip.stop();
clip.addEventListener(MouseEvent.MOUSE_UP,handleClick);
function handleClick(e:Event){
var target:MovieClip=MovieClip(e.target);
myPoints.push(new Point(target.mouseX,target.mouseY));
if(clip.currentFrame<clip.totalFrames){
clip.nextFrame();
} else {
clip.removeEventListener(MouseEvent.MOUSE_UP,handleClick);
trace("All done");
trace(myPoints);
I don't have a video handy, so I made a movieclip with a tween inside it of a little green ball moving along. This code allowed me to click the ball at each step and when I reached the end of the clip it traced out my points.
It may be possible to do this with the video object, but I'm not sure the seek values will allow you to do a frame by frame thing.

Similar Messages

  • Show image at certain points during embedded video?

    Hi all,
    Just before deployment, we have had a change request :-)
    I have slides with embedded videos, and these videos pause the slide until the video ends, the moves onto the next slide.  During the videos, we want certain images to appear in the slide, so, for example after 2:20 we would like an image to appear in a box in the slide itself.  Clearly I cant use the function of "appear after specific time", as the slide itlsef is only a few seconds long, but the video inside is over 5 minutes.  I have played around with an advanced action using  cpInfoElapsedTimeMS, but this displays the entire projects timeline and not the individual slides embedded movie time.  Is it possible to access the time in which the embedded video has been playing and hence make an image visible based upon that?
    I am using Captivate 5
    Thanks,
    Tristan

    Hi Tristan,
    You can do this in Captivate 5.
    You need to insert the video this way: Video > Insert Slide Video. Then you get the option to increase this slide duration to match that of video or even distribute this video on multiple slides (if the video is longer than your current slide). In either case, the total duration of slide(s) and video will match here. Captivate will also ensue that now this video plays synchronous with your slide (s). Something like, 10th sec of video will match the 10th sec of slide always if you start the video from the slide beginning.
    Once you reach this stage you can use "appear after specific time" to adjust your images and now these will match your video.
    These documents will help you further:
    Adobe Captivate 5 * Using slide video
    ABC of Rapid Elearning - Multi-video support and synchronization | Adobe TV
    Regards,
    Sony

  • Embedded video skins

    Embedding video in swf and placing in InDesign for export to
    PDF. Don't see a way to include embedded skins with embedded video
    to get a single swf to place in InDesign to ultimately get PDF
    playback with the skin. Procedure or examples to do this?

    Hi Steve
    I believe you would do this as follows.
    1. Click Project > Skin...
    2. In the Skin: drop down, scroll to the bottom of the list
    and choose "BMP Playbars".
    This should result in a single file that contains the former
    version of controls. However, you will also find that Captivate 2
    will still output two .SWF files along with the HTML file. If you
    upload both the HTML file and the .SWF file to your LMS, you will
    need to amend the HTML file so it correctly references only the
    base .SWF file. It seems that Captivate 2 will seemingly always
    point at the playback control file in the HTML file. The playback
    control file then loads up the main .SWF file. Also note that the
    HTML file will also contain a differing height statement for the
    movie. Presumably this is to account for the added playback
    control.
    Hopefully this helps... Rick

  • Embedded video problem

    I'm having trouble with both Safari and Firefox playing embedded, non-quicktime content. YouTube has become useless as all that comes up is a Quicktime logo with a question mark over it. I have the latest registered version of Quicktime and the latest free version of Adober Flash Player. I installed Flash and everything worked in Firefox, then when I opened the program later after quitting I got the same Q and ? on all embedded video pages I loaded. I'm near the point of throwing my iMac across the room. Any help would be greatly appreciated.

    If I've done this once, I've done it 50 times, and still no QT in Safari...! Am completely stumped. Have latest QT, Flash Player, and OS X 10.4.10, and have followed all the hints given on this topic, and still no QT video. Sound works fine, and videos play fine in Firefox, by the way.

  • Embedding video and audio for internet flipbook

    Dear All,
    first of all, sorry if it's been asked before but I could not find direct answer.
    My company, small translation agency in Poland, plans on to buy InDesign to improve quality of our output documents, but we have one more feature in mind and we don't know if InDesign CS6 supports this.
    In a movie http://tv.adobe.com/watch/cs55-design-standard-feature-tour/create-more-compelling-ebooks- with-indesign-cs55/ Terry White presents how to make an eBook with embedded video. We need a solution to create a similar effect, but the final document would be accessible from WWW (eg. http://essentialabsurdities.com/dance/ - there is no video in the example) - we want people to be able to browse content like in a book (flipbook?) and access video and audio (embedded or stored on a serwer along the document) when needed.
    Does InDesign support this? What should be the final format of such a document? Interactive PDF? SWF? Everybody says Flash is going to be retired soon (Apple does not support it, Android devices are soon to follow, the same for PCs in the nearest future probably) so we do not want to use this.
    Many thanks for your opinions on the issue.
    Best wishes,
    Michal Kornacki

    I have no incoming video for my Jabber account. I was doing some testing for one of my customers who had this issue. Here is what I found. I have a EX90 registered to VCS on a corporate network. I have my Jabber Express client I downloaded and installed. When I call to or from either I don't receive video on Jabber Express but I get audio from the EX90. I get Audio and video on the EX90 from Jabber. What I found when I was troubleshooting is that if you leave the call up for 30 seconds I finally start recieving video on Jabber from the EX90. After testing a few calls this happened every time. I then checked the call settings on both sides during the call. Both endpoints are experiencing 50% or so packet loss until the video started being sent to Jabber and then the packet loss dropped to 0. So I would assume there is something wrong on the Jabber Express end that is causing a 30 second or so delay when the video is being sent through the proxy. Has anyone else had this exact issue?

  • How do I create/host interactive articles with embedded video for use in browsers?

    I'm seeking a little guidance -
    How do I create/host interactive articles with embedded video for use in browsers?
    The aim is to bring together video, design, images and writing in one place. A little like Born Presents, but very accessible and user friendly.
    I'm happy using InDesign but want to create interactive articles / magazines that have embeded video files as required. I've been looking at .SWF files but I've come unstuck.
    I want people to view the articles via a blog, ideally with them opening in a lightbox style viewer. It's not intended for tablet viewing and people should be able to view and interact with the files with little effort on their part.
    I think I know how to create these files within InDesign, but I'm not so hot on web design and I'm not sure how to host these online. Does this start coming into the realms of Flash?
    If anyone could point in the right direction I'd really appreciate it - Thank you in advance.

    PDF is one thing. Folios for DPS is another. There is a little bit of
    overlap but not much.
    The interactivity in the folio overlays panel is for DPS only.

  • Embedded videos do not appear in 6.0

    I installed Safari 6.0 into Lion (I haven't yet quite got the courage to leap to 10.8) and am unhappy to find that embedded videos, YouTube / Flash at least, simply no longer appear.  There's only a big empty unresponsive space where they should be (no outline, no box, no indication that there is anything present, just vertical displacement of text).
    The videos appear and play fine in YouTube itself, and they're still fine in Firefox.  I'm running the latest version of Flash and do not have ClickToFlash or any other Flash-blocking plug-in installed.
    Thoughts?

    Helpful troubleshooting tip!  Disable extensions and see if anything changes.  I traced the problem to a new extension called "Google Disconnect", which is intended to keep Google from seeing you at other websites.  I suppose if I think through it hard enough I can see how that might block YouTube (aka Google) videos when presented off-site.
    Can I give myself points for answering my own question?
    (The answer appears to be yes!)

  • Embedding video into imovie

    Can anyone tell me if imove embeds video into imovie project, or does is always need to find the video file to play it?
    thanks

    fryedmeb,
    I'm not sure if I completely follow your question, but I'll take a stab at it.
    What appears as a single iMovie project file is really a package containing all the necessary media for the project. Video clips, audio clips etc.
    It also contains a reference file with instructions on how all the pieces get put together to form the project.
    But, at the iMovie project stage, all the media are discrete pieces. "Unembeded" so to speak.
    Once you output (Share) your iMoive to, say, a full quality DV QuickTIme file, the movie is then rendered as one self contained file.
    Matt

  • Some questions on controlling embedded video

    I am preparing a brochure with lots of embedded videos. I have found that Acrobat does embedded video very well and reliably. The videos are large in physical size so they are enabled from a small thumbnail and run in a window. The documents I have done in the past have had only one clip on a page and I set the clip to disable when the current page is not visible. Some videos are over one minute so if the reader moves on to another page while the clip is running the clip window disappears.
    The brochure requires several video clips per page, so I need to make it easy for the user to dismiss a clip window they are finished with. No matter what window settings I use for the clip the windows close button (top right) is miniscule, and I am concerned reader either won’t notice it or find it hard to use. The “Disable when” options in the Edit Video dialog box are very limited, ideally I want a disable when user clicks anywhere outside the clip window, as this isn’t possible I am looking for an alternative. I have considered the following but it looks like none of these are possible or practical:
    Dedicated “Close Video” button- there appears to be no command available to user buttons to do this.
    Place all clips on their own dedicated page and when the user clicks the “clip icon” it navigates to the video clip page which as a “return’ button which navigates back. This would only work reliably if the user is forced to use the documents page navigation and prevented from using acrobat’s page navigation. Even if you switch off display of acrobat’s navigation buttons it still responds to keyboard arrows.
    Any suggestions?
    Also when I embed the clip I draw a small rectangle and use “retrieve poster from media” sometimes it puts a small “Play’ icon on the poster and sometimes it doesn’t, its not clear to me how to control this.
    Many thanks
    Murray

    Unfortunately there's always a delay as a Rich Media annot (de)activates, in part due to Acrobat/Reader being a 32-bit application. Rich Media is stored in the PDF file as compressed data, so every time it opens Acrobat/Reader has to churn through a heap of memory-intensive operations to prepare it for handoff to Flash Player. On deactivation, there's a similar amount of reorganization to clear things up. Not a whole lot you can do about it, sorry. Things should improve in future versions.
    In terms of the highlight effect when you click a button, that's probably the default "invert" style which all buttons get. You can chage it to an outline instead (on the Options tab of the button's properties) but you can't make the inversion effect any more distinct. If you want to do something like making the click effect turn the button face pure yellow, then change the button's type to "push", also on the Options tab, and load a yellow bitmap or PDF image as the icon of the "down" state. Getting the icon to scale properly is controlled by the Advanced button on the Options tab - choose "non-proportional" and "always scale" to make it fill the rectangle. Of course you can put icons in the other states too if you want, but they'll hide the video thumbnail.

  • Why won't YouTube embedded video play from PowerPoint?

    I have followed the normal process to embed video in PowerPoint 2010 (32 bit), and playback worked without issues a couple of months ago.  Now it does not.  I have completed all of the troubleshooting tips, and reinstalled latest FlashPlayer 32-bit, etc.  When I go to play the embedded video in PPT, the following message appears:
    "To play the selected item, you must install a later version of the Adobe Flash Player. To download the Adobe Flash Player, go to the Adobe website."
    There does not appear to be any settings changed in browser (IE / Chrome), Windows Media Player, or PowerPoint.
    Need a solution.

    I went back to the embedded video code from YouTube, captured it and pasted it into the "insert video from Web site" and then deleted both "version=3" instances in the code:
    <object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/od8cUvPyvsg?hl=en_US&version=3&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/od8cUvPyvsg?hl=en_US&version=3&amp;rel=0" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
    That seemed to do the trick! 
    Many thanks for that help.  Not sure what caused prior embedded videos to no longer play - that still is baffling, because I hadn't done anything with the code until today.
    Gracias!

  • Safari Extension On doesn't play embedded video

    Hi everybody,
    I've a Macbook pro with Lion and i'm using the last version of Safari.
    On many sites but also in facebook i cannot play the embedded video my friends are posting. Once i click on them it became a blank space in the middle of the page.
    I tried many solution but at the end the working one is to go into Safari Preferences, Extension and set it on OFF.
    Why?
    There's any solution about it?

    Carolyn Samit wrote:
    Hi and welcome.....
    Follow the instructions here to install QT 7
    Installing QuickTime Player 7 on Mac OS X v10.6 Snow Leopard
    Carolyn
    Carolyn Samit wrote:
    Hi and welcome.....
    Follow the instructions here to install QT 7
    Installing QuickTime Player 7 on Mac OS X v10.6 Snow Leopard
    Carolyn
    Thank you Carolyn. Nothing has changed.
    Enrico

  • Play/Pause button for embedded video

    I'm working with an embedded video file and have set up some
    basic controls. The client wants the play button to be able to go
    from Play to Pause and have the button visually do this as well.
    Currently I have one Play button and one Stop button. How do I do
    this?
    Right now I have this for the play button:
    on (release) {
    _root.embeddedVideo.stopped = false;
    _root.embeddedVideo.play();
    And for the Stop button I have:
    on (release) {
    _root.embeddedVideo.stopped = true;
    _root.embeddedVideo.stop();
    Any thoughts or ideas?

    What would that look like? Right now they're loading using the following code:
    btnCashCollect_btn.onRelease = function () {
          mcLoader.loadClip("CashCollections.swf",myLoader);
          btnEndPeriod_btn.enabled = false;
          btnCashCollect_btn.enabled = false;
          btnFinancialMGMT_btn.enabled = false;
          _root.btnHome_mc._visible = false;
    So would I use something like:
    btnPause.onRelease = function() {
         myLoader.content.pause();
    Actually I just tried that and it didn't work...I need the buttons to work for multiple external swfs that will be loaded into myLoader

  • Embedded Videos Not Visible - iFrames?

    I frequently encounter situations where embedded video content is not visible.  I most often notice this when reading articles on Flipboard but have also experienced it in other apps, such as Fox News and USA Today.  Today, I noticed the following statement in place of the embedded video... "Your browser does not support iframes."
    This is not a new problem.  I have seen this problem for a year or more across multiple ios versions and multiple iPhone models.  I have looked at the settings for the device, Safari and all of the apps but i do not see anything that seems out of place.  I would certainly appreciate any insight that anyone may have.  Thanks!!

    I worked for AOL 9 years ago. I got out before they laid off all but about 150 people worldwide. As a former support rep for them I can tell you that their software was nowhere near good when it was current. It hasn't been current for nearly seven years now. The last IE build it was based on was 6.1 That may have a lot to do with what you're seeing in the AOL client browser. Honestly, since ALL AOL content can be accessed through http://www.aol.com having the software on your system is just 240mb of redundancy because you can do everything with Firefox or IE that you can do with AOL, so why have it? Uninstall it and free up some space on your hard drive.
    Drivers are for hardware only and since neither IE, AOL nor Firefox are hardware, this isn't a driver issue.
    You don't say if IE8 or IE9 have any issues with the video, just AOL/IE which again, is IE6.1 (circa 2003).
    My recommendation would be to distance yourself and your computer from AOL software (since it hasn't even been supported by AOL for the last seven years). Oh, and if you're still paying AOL for monthly access, get an attorney and get your money back from them. They've been charging thousands of people for something they made free in 2005 "just because they'll still pay it".

  • Embedded videos won't play on any browser (youtube will, though)

    Hi all, I'm at my wits end.  I have a fairly new computer running Windows 7 64 bit OS.   The problem is with non-Youtube embedded videos.  Flash has been playing them only on IE up until today, now it won't work in any browser (including Chrome).  (Youtube seems to work fine, embedded or not)  As an example, when looking at Facebook, any embedded Youtube video plays just fine, but all other videos only give me the black rectangle of doom.  I've just spent three hours following all the instructions here:  I've uninstalled, reinstalled, deleted the registry key in these instructions.   I've disabled ad blocking and turned off my only antivirus program (Microsoft Security Essentials).  I've tried downloading Flash Player using every browser and both 32 and 64 bit versions of the browsers.  Nothing makes the embedded videos play.  The Flash version I have is 11.6.602.171 and the little movie with the ball going by the screen shows fine, and the correct OS is showing.  I'm baffled and out of ideas.  Thanks for any help!

    There must be some other people who have encountered this same problem.
    Embedded YouTube videos not working: Apple Support Communities
    Safari suddenly stopped playing...: Apple Support Communities
    Safari stop playing embedded youtube...: Apple Support Communities

  • No sound with Flash 9 with embedded video?

    this is very strange. i cannot get any sound w/ Flash Player
    9 in Internet Explorer (IE) with playing embedded video. problem
    occurs with many websites with embedded youtube or other flash
    videos. when those sites are loaded, the sound bar was set to zero,
    but there is no sound even if i drag it to a higher level. yet,
    when the same video is played from youtube directly, it works
    perfectly.
    when i uninstall Flash 8 or 9 and reinstall an older version
    such as Flash 7, the sound plays perfectly without problem in all
    website wth the sound bar set to the correct level.
    i am running win xp professional sp2. latest updates/patches
    installed. ie 6.
    i have tried the following:
    1. the k-lite codec trick - does not work.
    2. scanned for virus/spyware - none found.
    3. uninstall all Flash w/ adobe uninstaller and reinstall the
    latest build - does not work.
    4. clean out all registry entries related to flash and
    reinstall - does not work
    5. deleted quicktime - does not work
    can someone please help me?

    plz help

Maybe you are looking for