ActionScript 2.0 :: Get The Name Of The Current File Being Played Using A Flash 8 Video Player (custom)?
Jun 25, 2006
I'm trying to figure out how to get the name of the current file being played using a flash 8 video player (custom). Here's the code im using :
[Code].....
How does flash know which video is currently being played? Basically I want to set it up so that there is a 'activeVideo' varible that updates based on what video is currently being played.
I have a custom video player that I built with AS3. When people are viewing the videos I want them to be able to jump ahead of their current download position so that they don't have to wait until the video downloads to watch that portion.
I've uploaded a video produced by Camtasia, but it's not played at all! Have a look: [URL] You see that the video is being downloaded, but not played.
The player is ARPlayer 1.7. The video is a mp4 file.
The file is perfectly played on a local computer, but after uploading to ftp stops being played. I don't why...
P.S. It's interesting that if I make simply an swf-video file, it's played good: [URL]. But I don't like this option, because the swf-video is 30MB vs 5MB of the mp4-video.
I have a video player in flex which constantly plays a movie. Is there a way to see how many times it has played? So each time the movie is played, text filled populates with +1.
I'm trying to get a video (flv) or an swf video player to work on Facebook walls, however no matter what I do - facebook posts the raw fbml and ignores the code.
I suppose the title says it all. I can load an external video file (FLV) and I can have it play. I also have the custom buttons made to control the clip. The only thing I have left to do is to have the main timeline move onto frame 2 once the external video reaches its end. I am using actionscript 3 and flash cs 5.5.
We have noticed a possible bug in the Flash Player within Mac's latest OS version Snow Leopard.
When a Browse for file dialog is initiated, upon returning to the browser. It's as if there is a layer above the flash app which stops interaction with the mouse. MouseOver events no longer take place and a click is require to remove this layer. If you move your mouse at all after the click this invisible layer returns limiting interaction.
We have tested this with 2 macs running snow leopard and the latest Flash Player. And also verified it is not an issue on Mac OSX previous to Snow Leopard.
It seems to effect only FF and Safari. Opera functions correctly.. Here is a video we created documenting the problem: [URL]
We have not had any customers complain about this yet. But if it's infact a bug, it's just a matter of time.
Does anyone know how to embed a custom video player into the Google Plus' Stream?You can share videos by uploading, via YouTube, or from your phone, but you can also embed the Vimeo player into the stream, for instance, by just dropping the Vimeo video's URL into the Stream.I assume Google is parsing the markup of the URL for specific meta so that it can render it as a video, much like you can do with Facebook's Open Graph:
i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial [URL] that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?
i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial (search on google for 4906532_within-another-flash-swf-file.htm since i cant add links) that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf.
i did the Video Basic Tutorials and the XML Playlist, because this was a chance to insert more than one videos. Altouhgh, i customized the skin of the Videoplayer.
When i'm finished, the videoplayer shoud look like this:
Okay, so i took the functions shown in the tutorial. So i've got an XML-Playlist, play/pause button, replay button, mute button.
But as you see in the screenshot there should be some more
First of all i want to stop the "Autoplay-system" and "Autoreplay-System". I want to show the preview-picture and if i klick on "play" i want the TV to start. If one video is finished, there should be the "screenshot" again.
Screenshots -> Because i want to use the player with a lot of movies, i want to write down screenshots next to the videourl (XML Datei), something like this
Than there are some "Arrowkeys" like this », so i want to switch between the screenshots to choose your video. Because i want this as "navigation", i don't need the Playlist next to the player (if i delete the layer i cannot use the player anymore).
Third: I would love the "minutes"-display (shown on the screenshot).
All I want to ask is that, can I use netStream and its functions for like resume(); or play(); to control playback of swf files. more importantly, can i use netStream for swf files?
I am working with the scrub element in my custom video player. The code for this in AS2 is as follows (this is the whole of it). How the scrub portion is coded in AS3?
HTML Code: var nc:NetConnecttion = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); theVideo.attachVideo(ns); ns.play("vegas.flv"); [Code] .....
for a project I need to develop a custom video player that needs to be able to go fullscreen, with custom control (play btn etc) overlay. The player will be used in a flash application (say as a window in the application.
Now I can figure out how to build a player from NetConnection, NetStream, Video etc, but I have no idea how you would implement the ability to go fullscreen and have the control overlay when in fullscreen as well.
Note that I cant tell the SWF to go full screen, it needs to be just the player.
I would like to know how to reference something in my xml. Im adding thumbnails and would like to know how to get the file name in from the xml using the attributes method. The videos are loaded in an list component I want to use "trace" to get an property or attibute from the xml file. I tried trace(videos[i].attributes.thumb+"thumbnail"); but it didnt work. The XML file is also posted
I'm trying to force the Flash player to play video files without showing screens. I did try to set vidDisplay.visible to false. But it seemed not working at all.I was doing was try to build a generic media player. Whatever the source is(audio or video), the control panel always the same, namely, a mp3 player panel is always displayed:However, when I stream in a video file, it would end up overriding mp3 panel with a partial video screen. I don't have enough reputation to upload images...
Some of my flash buttons do not work in FlashPlayer 10 but work in 10.1 So I wanted to alert a user to upgrade to the most current flash player 10.1 if he/she has 10 and visits my website. What is the best way to do it? My entire site is done in Flash and I am using AS3.
I was able to gather info on how to test and display users OS and FP version. However this info is "dormant" it is just being displayed on the screen.Does anyone know how to make an alert message to upgrade to the current Flash Player if a user runs the lower version?
If I have 5 frames and each contanins a MovieClip on stage that includes it's class, listeners, functions etc.If I go from one frame to another,should I clean everything up? I mean remove listeners, remove childs etc etc.Or other MovieClips except those in the current frame are ignored from flash player.
I am having a problem with my flash not showing up in browsers without current flash player. I tried to use the following script but it did not work.I am just trying to make it to where if someone doesn't have flash it takes them to a flattened non flash page.
<SCRIPT LANGUAGE=JavaScript1.1> <!-- var MM_contentVersion = 6;[code].....