Mediaelement.js The Flash Player Won't Hide The Play Button?
Feb 1, 2012
I have set the features to be empty which works fine except in the flash player. It still shows the big play button.I realise I can manually hide this but I'd rather find the proper solution
$('video').mediaelementplayer({
features: [],
success: function (me) { [code]..........
View 1 Replies
Similar Posts:
Jan 12, 2012
If I just call MediaElement and not MediaElementPlayer, can I still skin both the HTML and Flash players using only CSS? Or do I have to modify the actual FLA?
View 1 Replies
Feb 26, 2011
I have a video player on my site that once paused I would like to prevent rest of the video being downloaded. I am using MediaElement.js for html5 video with flash fallback. It is annoying that I am unable to stop the video from downloading as it is a waste of bandwidth and the "progress" event continues to fire and update the UI.
View 1 Replies
Feb 14, 2012
I want to play the music file in flash player (which is embedded obviously) by clicking the play button which is in the web page (not in flash player).
View 2 Replies
Mar 11, 2011
i use the following code to embed a video:
$('#trailer-dialog').mediaelementplayer({
enablePluginDebug: false,
// remove or reorder to change plugin priority
plugins: ['flash','silverlight'],
// specify to force MediaElement to use a particular video or audio type
[Code]...
View 1 Replies
Nov 10, 2011
I'm trying to make a simple music player with only one button for Play & Pause the music. What I have now is a MovieClip with:
1st Keyframe: active state for play Button
2nd Keyframe: active state for pause button
3rd Keyframe: hover state for play button
4th Keyframe: hover state for pause button
The script works OK, and play and pause the music without problems as expected.
The problem comes after the second click in the play/pause button when the alternance between two states becomes chaotic. The button never returns to the play state although the music was paused.
This is the code:
/**** Objects and Vars ****/
var AutoPlay:Boolean = false;
var isPlaying:Boolean = false;
[Code].....
View 1 Replies
Jan 14, 2011
I'm trying to make a simple flash mp3 player with a play/pause toggle button called toggle_btn. The button is actually a MovieClip with two buttons inside it: play_btn and pause_btn, which live in different places on the MovieClip's timeline. That all works fine, and when I press the play/pause button for the first time, my music plays as expected.
However, when I press it again to pause, it keeps right on playing. If I push it again, the button gets all glitchy, and doesn't go into its rollover state when it should nor toggle when clicked.
Here's my ActionScript:
Code:
// load the playlist
var getFile:URLLoader = new URLLoader(new URLRequest('songs.xml'));
var numSongs:int = 0; // number of songs in playlist -- we'll set this later
[Code]....
View 3 Replies
Mar 14, 2010
hide the video content of the YouTube player (only statusbar (where is play button etc.) is visible) ? Or maybe do you know other (flash) players that have the ability to stream the YouTube movies ?
View 2 Replies
Mar 1, 2011
I'm trying to create an overlay containing a flash player that is shown when a user clicks on a link. The div containing the player starts with display:none in CSS. Upon clicking, the div will be shown, and JS will use ExternalInterface to configure and start the player. The JS configures the player when it catches a "flash ready" event, which is fired by Flash on ADDED_TO_STAGE.All this works, except that the ExternalInterface callbacks are never created. The JS and AS3 work fine if the player is shown upon page load, or is hidden with visibility:hidden instead of display:none. I am aware that Flash will not be initialized with display:none, and this works as expected: when the Flash is unhidden, it fires its events and correctly initializes everything else (eg. GUI, other internal stuff). The only thing that doesn't happen as expected is that my ExternalInterface callbacks are not added.
ExternalInterface.available is true. It's not a timing problem, because even after several minutes the callbacks are still not present. The strangest bit is that the flash is able to call JS, fires JS events fine, and the code to fire the events comes after the code to add the callbacks. There are no errors thrown by any of the AS3 code. I'm seeing this problem in both Chrome and Firefox.
View 2 Replies
Nov 8, 2010
I just updated to CS5 - I'm working on a custom video player. It works fine embedded in a web page both locally and on the network. It works fine in the debug player. However, when I test it in the authoring player I get a NetStream.Play.StreamNotFound error and no video. I have tried setting the Local Playback Security publish settings to both local and network - doesn't find the video either way.
It used to run fine in CS4 in the authoring environment.
View 1 Replies
Aug 3, 2010
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
View 1 Replies
May 1, 2009
I am oriented around html/css webdesign, and graphic design in photoshop, but know nothing of Flash, and i am attempting to learn!I have found a lot of complex tutorials but none that fit my specification. All i need to know is how to make an interface incorporating a play button which plays a .flv file. I already have a .flv file ready and the graphic i want to use for the button, but no idea how to begin.The .flv i want to play is a short 3-4 minute clip of someone talking including audio - i dont know the best way to play it and have heard of different options including embedding or somehow linking to an external flv file.I have tried various tutorials to try to achieve a simple interface with play button - i dont need a skin, rewind, forward, etc, just a play button and for it to go away while the video is playing, and perhaps a pause/stop button in the corner of the swf, over the top of the flv file itself. But I have had no success, mainly due to errors within the actionscript.
View 17 Replies
Dec 7, 2010
I checked all flaskit sources and tutorials. All of them are telling about mp3 players with stop, play and pause buttons.
Is there any source or tutorial about a radio which continiously play songs ? No pause, no play, no stop button. it will play songs in specific folder nonstop in loop. ?
View 3 Replies
Dec 7, 2011
I am making a web app that uses MediaElement.js (ME.js) for playing audio and displaying video across different browsers. However, I am having trouble with IE8: When I instantiate the MediaElement with an <audio>element from the DOM, the flash object gets created and inserted in DOM but then the media does not get loaded. No errors are reported. Instead nothing happens.
Trying to debug it, I have created a small test page which also uses ME.js that tries to play the same audio file. Strangely, this page works fine. IE8 loads and plays the file. I have tried to look at what both of these pages output in the DOM to see if I could get a hint about what is going wrong.
[Code]....
Notice there's a difference: In the first snippet it says <PARAM NAME="Play" VALUE="-1">and in the second it says <PARAM NAME="Play" VALUE="0">. This seems significant somehow, but I have no idea how to interpret it. not that this is not the markup generate by ME.js but something that somehow gets generated when the .swf file has loaded. Not being any kind of a flash expert, I can't really explain how.
When I use Fiddler to monitor which assets get loaded, the difference between the two pages are that the first page loads the .swf file as the last thing and the second loads the .swf file and then loads the .mp3.
I should mention that the web app works in Chrome when I force it to use the flash plugin instead of native HTML elements.
View 1 Replies
May 18, 2011
I am using actionscript 3 to make a point and click game. On frame 1 there are two buttons, button 1 and 2. On frame 3 there are two buttons, button A and B. I want it so that after I click button 1 on frame 1, button A on frame 3 will be hidden or when I click button 2 on frame 1, button B on frame 3 will be hidden. The buttons that are hidden do not do anything when you click them.
View 2 Replies
Jun 5, 2011
I'm trying to add mediaelement.js to my site to present a single player for any MP3 link on a particular page. The design is working fine for IE 9 and Chrome 11 (which have HTML5 MP3 support), but it has an issue with the flash fallback on Opera 11 and FireFox 4. Clicking any MP3 link on the page uses the .setSrc() method of media element player to change the source of the player, but in Opera and FF, the first time this method is called, it returns error "this.media.setSrc is not a function". Any call to the function after that works fine.
Another issue is after the element containing the player is hidden "display:none" and then displayed again, calling the .pause() function will produce error "this.pluginApi.pauseMedia is not a function". After that error is thrown, subsequent calls work fine until the element is hidden and displayed again.
[Code]...
View 1 Replies
Jun 30, 2009
I'm building a flv_video AS3 player. I'm using steaming-video.The player is working fine, but there is something that I want to improve. Currently when I push play button and if I drag&drop the scrubber of progress-bar somewhere in the area that is still not buffered, the player doesn't start to play from that position. So I want to do it.
View 2 Replies
Jan 13, 2010
I have a button called myBtn.
In my actions in Frame 1, I have tried both[code]...
View 6 Replies
Nov 16, 2007
I have a question about hiding a flash button. I have 2 buttons (one for muting and one for unmuting). When I click on the mute one, I want to make it so that it hides the mute one and makes the unmute button visible and vice-versa. I have tried using the ._alpha on release for actions but its not working. I also tried using ._visible.
View 3 Replies
Dec 7, 2010
I have a swf file that has numerous buttons on it, and when I hover over them images appears. But when my images appears, I have other buttons (whose layers are on top of this current button layer) also appear on top of my images. I tried merging all my buttons onto one layer, but that doesn't seem to work either.
How would I be able to not make those other buttons appear on my hover state without using ActionScript?
View 3 Replies
Jul 11, 2009
I have two div layers in an html page. Is there a way to hide or show them by clicking a button in flash? I have searched online and haven't been able to find something that works.
View 1 Replies
Aug 26, 2009
I'm using this code to play flv [code]...
But I want to hide all icons (Play, Stop, timeline and scroll bar), how can I do that?
View 4 Replies
Nov 2, 2009
I am making a flash presentation I have buttons on the top presentation that will navigate to differnt slides.The question i have is for each button I have the behaviors set to show the screen I want and hide all of the other screens.I have to go to each button and do a hide each screen one by one, I have about 40 of them. Is there a easy way to do that in bulk. I.E. If i have button 1 I want it to show only screen 1 and hide screens 2-40. Button 2 will show only screen 2 and hide screens 1, 3-40
View 1 Replies
Aug 16, 2009
Using ActionScript 2.0, how do I show or hide a button onclick? I am making a simple mp3 player, and would like my pause button to change to a play button when clicked, and vice versa.
View 2 Replies
Sep 4, 2010
I can't seem to get the Flash player controls to autohide.If you mouse out of the video very slowly the flash player controls that are over the video will autohide. But if you mouse out quickly the controls stay there.
View 4 Replies
Jul 28, 2011
1. How to Auto hide player controlbar, when video fullscreen. 2. and also controlbar widh when player fullsize to monitor width.
[Code]....
View 13 Replies
Jan 5, 2012
Is it possible to play flash without flash-player installed? I heard that SWF file and flash player itself may be included into one EXE file.
View 3 Replies
Mar 1, 2011
I'm currently making a website for an assigment on movie websites. I'm currently trying to figure out how to get the video to play then fade / hide when it finishes or the user clicks the exit button so it will then reveal the page below. It's being built as a multi-swf site (ActionScript 2) and if I can get this figured out then I should be on my way to finishing the site.
View 2 Replies
Aug 14, 2009
I have an fla file with a simple flv video player control. How do I add a big "Play Button" similar to an embeded YouTube video in the middle of the video when it isn't set to auto play. Some videos have black screens when they start, so it looks pretty barren with a bunch of black players all over.
View 5 Replies
Jan 30, 2010
I created one invitation in flash 8 with flip book and wanted to upload it online and share the link with everyone. wanted to do in an atmosphere where flash player is self embedded and the user doesnt need to have the flash player.
View 2 Replies