Embedding video player in TLF

Hi Guys,
Can we add a video player to a Richeditable text, if yes what is wrong in the code below? I can see it adds to the editor but soesnt show up
<?xml version="1.0" encoding="utf-8"?>
<!--
// Copyright (C) 2009 Rad3 Limited.
// All Rights Reserved.
// If you have received this file from a source other than Rad3,
// then your use, modification, or distribution of it requires
// the prior written permission of Rad3.
// -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                 xmlns:s="library://ns.adobe.com/flex/spark"
                                 xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="initApp();">
          <fx:Declarations>
                    <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
                    <fx:Script>
                              <![CDATA[
                                        import flashx.textLayout.edit.EditManager;
                                        import flashx.textLayout.edit.SelectionState;
                                        import mx.controls.Alert;
                                        import spark.components.VideoDisplay;
                                        import spark.components.VideoPlayer;
                              private var _videoDisplay:VideoPlayer;
                              private var _editManager:EditManager;
                              private var _videoContainer:Sprite;
                              private function initApp():void
                                        var videoPath:String = "sample_vid.flv";
                                        _videoDisplay = new VideoPlayer();
                                        _videoDisplay.source = videoPath;
                                        _videoContainer = new Sprite();
                                        _videoContainer.width = 200;
                                        _videoContainer.height = 200;
                                        //_videoDisplay.play();
                                        // add the video
                                        _videoContainer.addChild(_videoDisplay);
                                        _editManager = rte.textFlow.interactionManager as EditManager;
                                        _editManager.insertInlineGraphic(_videoContainer,500,400, null, new SelectionState(rte.textFlow, 0, 0));
                              ]]>
                    </fx:Script>
                    <s:RichEditableText id="rte" width="100%" height="100%"/>
</s:Application>
Thanks

gauravjlj wrote:
..I need Video.. What formats do you need to support?
..Player in my Java Web Application.Do you mean embedded in the web page, or simply available from your site?
Please guide me the right way to do it.For Sun's latest media project, see [http://javafx.com/].
For older JREs, you might look to the JMF. See [http://java.sun.com/javase/technologies/desktop/media/jmf/] for further details.

Similar Messages

  • Embedding video player

    I found a video at youtube I want to add to my web site. I see at youtube you can add an embedded video player and I was wondering if anyone had tried this yet with iWeb and what sort of result you had.

    Most of these types of things require you to insert some HTML into your page, which iWeb doesn't allow. However, after you publish the page, you should be able to look through the file to determine where you need to add the code for the YouTube media player.

  • Embedded Flash video player does not appear

    Regarding this page: https://dl144.infusionsoft.com/app/page/default-campaign-landing-page8
    If you look at the source, there's an iframe containing an embedded video player from vzaar in that yellow space at the top of the screen. it renders correctly in all other browsers except FireFox 23. I'm on OSX 10.7.5
    I also tried it on Firefox 24.0 on Windows 7 Home Premium with the same result - no player.
    Can anybody suggest why the contents of the iframe do not appear?

    That iframe is blocked because of mixed active content.
    You can see this in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K)
    <pre><nowiki>Blocked loading mixed active content "http://view.vzaar.com/1214912/player" @ https://dl144.infusionsoft.com/app/page/default-campaign-landing-page8
    </nowiki></pre>
    The main site is https and the iframe source is http://view.vzaar.com/1214912/player
    *https://support.mozilla.org/kb/how-does-content-isnt-secure-affect-my-safety
    *https://developer.mozilla.org/en/Security/MixedContent
    A workaround is to set the security.mixed_content.block_active_content pref to false.

  • Using parental controls to log embedded video

    Is there any way to set up the parental controls to log the videos watched in an embedded video player on a web page? Youtube will show suggested content after a video is watched which can ultimately lead to content that I would want to monitor. Is there any way to do with with the existing parental controls?

    Okay.  Then your problem is just what you wrote: parental controls won't properly log out an account unless the user is there to handle onscreen dialogs.  Sorry, I have no fix.
    Another problem related to this is that OS X can't log into one shared asset as two different users at the same time, so it can't log the second user in properly.  Sorry, but there's no fix for that either.  It's on the buglist, but it has been for some time.

  • Flash player not working on embedded videos

    Hi
    This week my computer stopped playing embedded videos (from vimeo) on my website. The window appears with the normal titles but no video.http://www.vevideo.ie/wedding.htm, only a small box in the top left hand corner.
    My computer will play videos on vimeo etc no problem. I also noticed the same problems with  a friends blog site, some of the videos I couls see and play, others no http://erolmedia.blogspot.com/
    I uninstalled my flash player and reinstalled 10.1 with no difficulty. The problem  remains
    I use 32bit windows vista business and Internet Explorer 8
    Thanks
    Paul

    Make sure that "Allow 3rd-party Flash content..." is checked at
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.htm l

  • Embedded flash player is not working... Unable to play the streaming videos... Browser is hanging many times!!

    Hi,
    Pls help me to fix an issue with my playbook browser. The embedded flash player is not working... Unable to play the streaming videos... Browser is hanging many times. Restart done, cleared history etc.. Still doesn't work.
    Any help would be appreciated.
    Thanks.
    Solved!
    Go to Solution.

    Hello ak_kanan, 
    Welcome to the forums. 
    Try doing the following. In the browser swipe down from the top and choose Settings, now choose Content, here where it says Enable Flash change this to Off.  Now try going to the website that was not working (it will not work again this is fine) Once on the page swipe down from the top again and this time enable the Flash setting. Now reload the page and test to see if you have the same issue. 
    Let us know how you make out. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Embedded video/audio player

    Any recommendations on which embedded video or audio player to use for Dreamweaver? I would like something that will give me a playlist.

    Wimpy Rave
    WWD Player --
    http://www.woosterwebdesign.com/flvplayer/
    JW Player --
    http://www.longtailvideo.com/
    FlowPlayer --
    http://flowplayer.org/
    YouTube --
    http://code.google.com/apis/youtube/getting_started.html

  • Create a video player for embedded FLV

    So I want to embed a FLV in my flash so that I just have ONE SWF that contains everything.
    I know if I say "load external video with playback component" I will end up with a swf, html and the flv- this is NOT what I want so please don't ask me why I'm not using this option.
    "Embed FLV in SWF and play in timeline" is EXACTLY what I want- the result is just a single SWF.
    Here is the question: How do I get a video player if I embed a FLV in flash?
    I know if I load the video external I will get some nice players - exactly what I want. How do I get a player if the video is embedded? Are there any coded player templates on the net? I couldn't find anything on google I could use but I've to admit I'm not too good at AS.
    Thanks A LOT for your help

    Not sure if this will work. Embed the FLV into a movie clip and in the expanded propertied check export for action script. Then you may be able to call the movie clip from the content path in the FLV video component.

  • Button in Swf triggest stream video in embedded WMV player

    Hey guys I have a SWF video menu basicially I have 12 buttons
    and I need each button when clicked to play a file in the embeded
    WMV player in dreamweaver.
    Ive tried a ton of things but cant figure it out.
    You can see what im doing at
    http://home.cogeco.ca/~activetruth/parkour.html
    I have a drop down menu to play a video. But again I want to
    have it so I click the button and it plays the video in that video
    player.
    I dont want windows media to pop up like it normally does.
    Thanks in Advance

    Hi Nyaih,
    It's glad to hear that your are using configurator. I'm not very sure I understand your problem. But I think you may be interested with this.
    I'd created a patch for Configurator 2.0, which added a slider bar for VideoPlayer, then you can drag the slider to jump in the video. See the screen shot.
    The patch file is attached in this post as a picture file.
    If you want apply it, please download it, and rename to "PS12Template.swf".
    And go to your configurator 2.0 panel folder. It should be "c:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins\Panels\<Your Panel Name>\content\".
    And use "PS12Template.swf" to replace your "<Your Panel Name>".swf.
    Then restart photoshop.

  • Vista and Flash Player issues - no embedded video

    Ok,
    I've been wrestling with this for a week now. I upgraded from XP to Vista Home Premium 32-bit. After the upgrade, I cannot view embedded videos on any website(except Microsoft's cuz they use Silverlight).
    I CAN, however, see videos on YouTube *IF* I change the URL to their Secure site. (HTTPS). I found this workaround in a post. This tells me that Flash Player is working, but somewhere in the Vista install, Vista is blocking non-secure websites from loading/playing embedded videos. I have used Yahoo's news pages as my test, but have had issues with embedded videos on FaceBook, and other websites that regularly post embedded vids, like the TV network sites, etc.  I have gone through as many "fixes" as I could find posts on the Web, and none have fixed my problem. I tried downloading and installing Flash Player on Chrome and Firefox, and those didn't work either, so I know that A.) the problem is not the browser, B.) that the problem is not the codecs, as vids run on Youtube's Secure website. That leaves the OS as the culprit. I have gone through the Control Panel, and tried everwhere there that I could find a remote link to Internet security, to no avail.  No one at Microsoft is interested in helping me; they just tell me to buy Windows 7. Are there any Vista gurus out there that may be able to help?

    Could you try running through the steps outlined in this FAQ?  In particular, make sure you delete the two folders specified within the %appdata% directory.
    How do I do a clean install of Flash Player?
    Chris

  • Embedded videos do not show up on certain webstites.

    Embedded videos on certain websites (perezhilton.com) do not appear. I have downloaded Firefox's most recent update and that is when the problem started. I downloaded Google Chrome and the videos do appear and work fine on that browser.

    You may have to install additional plugins.
    * https://support.mozilla.com/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    *https://support.mozilla.com/kb/Using+plugins+with+Firefox

  • Embedded videos in many websites won't open.

    I have found that the embedded videos on many but not all websites won't open now when I'm browsing in Firefox. I am running 27.0.1. I have Adobe Flash Player installed so that's not an issue. As some examples of non-openers: Embedded videos in some of the news articles on Yahoo!'s home page; videos on the davidlynchfoundation.org site. I tried disabling the "Adblock Edge" add-on, but it didn't change anything. In many cases, their is a big empty space in the text where the video should be, i.e. there isn't any indication that there's a video there. In other cases, I click on the visible start icon, but the screen of the vid just goes to black.
    When I switched to Safari, all of these embedded videos opened without a hitch. I'd rather continue with Firefox, but will have to switch to Safari if we can come up with a "fix" for this problem.
    I have a MacBook running Snow Leopard. This is a new problem which I haven't experienced with Firefox previously.
    BTW: I have only minimal tech skills.
    Thanks for any advice/help you can provide.
    Dave

    Hi Yogidave,
    It sounds like the videos are not loading properly. If there are not video controls, but there is a space for the video, this means that the item is loading, but the player is not loading.
    In understanding what you tried:
    I tried disabling the "Adblock Edge" add-on - it looks like this is no longer in the list of add ons that you have in the troubleshooting information, when you took this out, do the videos still leave space in the page where the video should be?
    The examples you used: Yahoo homepage and the davidlynchfoundation: I know the latter uses an embedded youtube video with has its own video player that uses flash, as well at Yahoo. (I am not sure if all the videos are flash in Yahoo)
    Since this is the case, can you please check your extensions to see if you have Flash installed or if you have it disabled? If so, please turn it on and visit the sites that are giving you issues to see if this resolves the problem.
    This article has pretty simple instructions how to install the player if it is not there[[Install the Flash plugin to view videos, animations and games]]
    The only other test I can suggest is to see if another type of embedded video does the same thing. For example, if you have netflix or hulu, see if those video players do the same thing.
    I hope this helps. (also I tested those pages in beta and it loads just fine, you are not short of watching videos again in firefox)

  • After updating to Flash version 11.6.602.171 - can no longer play any embedded videos..and worse

    To begin with, I'm running a clean AMD 64 Bit Windows 7 System.  Never any problems with any of my video playing scenarios - until now - with this version 11.6.602.171.
    After downloading and installing both versions - both for Firefox (other browsers) and IE, none of my browsers can play videos unless they are at their lowest resolution of 240.
    So I used the Adobe Flash Uninstaller and ensured that the last vestages of Flash Player were removed - and reinstalled - all to no avail.
    Then I downloaded the archived version of 10.3 to see if a previous version would work.  But that wouldn't work either.  None of my browsers will play videos now and I'm talking:
    IE 10
    Firefox 19.01
    Avant Browser
    Google Chrome
    Google Chromium
    Commodo Dragon
    Commodo Ice Dragon
    Opera
    Waterfox
    Pale Moon
    None will play the video.
    What you get is the video screen but unless you have a 240 option (lowest resolution), all you get is a green screen.  You hear the talking/music, but there is no picture and all the green screen does is flash.  Here's a JPG of the screen.  If you put your cursor anywhere on the progress meter (arrow) it will show you a small image of what's supposed to be playing (see below), but the screen remains green and flashes while playing.
    Now here is where it gets interesting.  When I completely uninstall Adobe Flash Player and then go to a You Tube embedded video (on any site), there first appears a screen that tells you that you need a plug-in - but then within seconds (without downloading anything), the movie starts playing normally.
    I then checked my Firewall (Zone Alarm) - turned it off temporarily - that wasn't the problem.  Then checked my latest version of Avast AntiVirus software and temporarily turned it off - that was not the problem either.  The videos still won't work and remain green unless you use the lowest resolution.
    So this new version 11.6.602.171 has become a nightmare - but I'm afraid it messed up my system big time and I don't know what to do to alleviate this.
    Crying HELP!!!!!!!!!!   Is there something I'm overlooking.  I'm now screwed - way to go Adobe for releasing such a faulty software product.
    Ben Herrmann
    North Carolina

    It sounds like we've got a number of *different* problems on this thread.  I'll try and respond to a few of them.
    @filter 2.5 and everyone else running into a green screen issue.  Please try the solution outlined in the post below to see if it will allow you to use hardware acceleration.  The other alternative is to try a different ATI driver.
    http://forums.adobe.com/message/4865912#4865912#4865912#4865912
    @pipseer - Somehow Internet Explorer's activex filtering was enabled on your system.  This troubleshooting is also described in this FAQ: ActiveX Filtering in Internet Explorer
    @Sahloknir - For the sound issue, we're going to want your system specs.  Please start a new thread with:
    Operating   system  
    Browser  
    Flash   Player version
    Dxdiag Report Instructions
    Sometimes video and audio problems are caused at a lower level and not directly related to Flash Player.  I recommend trying both of the links below to see how they perform.  If the problem exists with both, then Flash Player is most likely not the culprit as the HTML5 video link does not use Flash Player when playing.  You can verify the use of HTML5 by right clicking the HTML5 video and looking for the words "About HTML5" at the bottom of the context menu.
    HTML5   video  
    Non-HTML5 video
    @mem2013 - The Flash Player update service will not impact Flash Player's performance.  This is a separate service that runs for just an instant on your system once an hour (if you have automatic updates enabled.)  Changing it from manual to automatic shouldn't make any difference.

  • Embedding video in Java Application

    I'm a total newbie, trying to decide if Java is the way to go for our application.
    We want to be able to create an interactive application with buttons, drag & drop, data input fields, hot spots, etc
    AND also show video... windows format, apple format, flash format.
    We want our application to be deployable either as...
    1 - a standalone app... running on a system not on a network or the internet
    2 - a web app
    We want the video player to be embedded in the application and not launch a player in a seperate window... thus we want to maintain as much control within the confines of our application as possible.
    MY QUESTIONS:
    1 - Will the Java Media Framework allow us to embed movies in our application as described?
    2 - Is it fairly easy to code such in our Java application?
    3 - Any code snippets around?
    4 - Re: Standalone/CD distribution version: Can the JMF be installed along with the application so the client doesn't have to "go out and install more stuff" ??
    5 - Re: Web - must the user download and install more stuff... other than the Java Virtual Machine to have the JMF work on their system?
    6 - Is the JMF multi-platform... Windows, Apple, Unix/Linux, etc like the JVM ?
    thanks for any help on this. Will

    Yes all of what you require is doable in Java
    Try
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/index.html
    Check some of these samples
    Also for a web version check
    http://java.sun.com/dev/evangcentral/totallytech/jmf2.html
    (Haven't studied this myself - but should give you an idea or two)
    Platform-wise - check here
    http://java.sun.com/products/java-media/jmf/2.1.1/download.html
    In terms of CD distribution - you should be able to package most stuff into a Jar file
    Not completely sure as there are 'Windows Performance pack' downloads which I think toake advantage of native DLLs
    Have a read around the JMF Installation pages - should answer most of your questions

  • [Solved] embedded videos in firefox take a lot of CPU time

    Playing embeded videos in Firefox take a lot of CPU time. Actually my old computer is not able to play these videos correctly if they are in HD. The problem appears with flash videos (not so surprising, flash sucks...) but also with html5 videos (there is an option in youtube to turn that on). However if I succeed to have the direct URL, these videos play perfecrtlky fine in mplayer using not more than 10-20% of CPU time. Is there a solution to that? Is there any possibility to use an external player to play HTML5 videos in firefox? If anybody knows, Why this problem, are the mozilla folk aware of this problem? (Note that I posted a thread a long time ago for this problem but concerning flash only)
    Last edited by olive (2012-04-27 20:33:59)

    There's not much you can do to make HTML5 videos as fast as Xv, see http://swfdec.freedesktop.org/wiki/FAQ. They are slow for the same basic reason as Flash... the video overlay cannot be used because the standard allows for controls and CSS to be rendered on top of the video.
    As for redirecting to an external player... this is not as easy as it could be. If the videos appeared in <embed> tags or <object> tags, one could use Mozplugger, Media Player Connectivity and other programs, but I don't think one has been written to handle the <video> tag. An upcoming update to firefox will make it use gstreamer, however. If this still results in slow playback, it will at least make it easier to use an external player. I imagine you would have to patch firefox to make it use a port on the localhost as the video sink instead of the screen. Then you would run gst-launch to receive that RTP stream.

Maybe you are looking for

  • HT4914 once subscribed, does the main computer with library always need to be on in order for other devices to work?

    I am trying to figure out if iMatch is right for my family.  We have 2 iPhones, 2 iPads, an iPod Touch, and a few PCs.  One PC has our music library on it in iTunes.  We want to all share from the library with our own separate devices.  If we subscri

  • Trigger compile with after migrated from 8i to 10g

    Hi All, We try to migrate a 8i database to 10g by using the exp and imp. All tables and data are already migrated by imp. During the imp, there are errors said the trigger compile with errors. When login to the em to check, I found these 2 errors. Li

  • Can I install App Server 10g (10.1.2) on Solaris 10 Operating System

    Hi, I have to install Application Server on Solaris 10 (SPARC) and I have the Setup of AS 10g 10.1.2. So,Can I install this AS on my system. Also I have search for this on OTN and find that AS 10.1.3 is the version that can be used but its installati

  • Problems with MX record - Relay access denied

    Hello there, I'm just having some issues with my mails on a business catalyst website. We want to use an external server to handle mail, so I created an MX record accordingly in the business catalyst control center, pointing to the external mx server

  • VGS-1313: Font lookup failed

    hello all :) i wonder how to make oracle forms read the ttf fonts installed on linux i cant open the canvas since it has a font thats not read by oracle "Arabic transparent" then it throws error *"VGS-1313: Font lookup failed"* i read that the report