ActionScript 1/2 :: Play Video On A Html With Jquery?
Dec 21, 2011
I have a php/sql database that has thumb nails and videos in swf format and flv. On my html page I have an swf player. I have echoed the thumbnails and have the url of the videos. How can I get the video url playing on the player after a person clicks the thumbnail with out xml. Just by passing the url to the player.
I have hand some sucess with xml passing but this can`t work in this aspect. So I have been investigating jquery and other alternatives.
View 40 Replies
Similar Posts:
Nov 6, 2011
I'll explain my scenario. I want to play a small sound at certain situation, so I would prefer initiating the play via jQuery. Also, I wish to make a toggle button for the sound. So, the user could turn ON/OFF the sound. So, I'm thinking about creating the toggle button and function for playing the sound inside the Flash. But I don't how to call this function (that I have written in Actionscript, which will start playing the sound) via jQuery ! Do you have some ideas ? I haven't done creating the Flash document, but bookmarked some tutorials and will start playing with it soon. :) The reason for choosing Flash is that it would be crossbrowser compatible.
View 1 Replies
Dec 18, 2010
I need to autoplay youtube video as I click on its thumbnail.Since IE doesn't support <EMBED> tag I need preset all needed values in <OBJECT> and then create a new object with my parameters.So I did something like this:
var $newObject = jQuery('<object><param name="play" value="true"/>' + $oldObject.html() + '</object>'); // preparing virtual object on the fly.
$thisObject.html($newObject.html()); //Creating new object
[code].....
View 2 Replies
Oct 4, 2010
I am trying to get a youtube video to play in a fancybox popup window. The popup window comes up okay, but the video does not play. Firebug indicates that all the necessary elements are loading, but no video.On this page everything works fine.On this page the window pops up but no video. Here is the html:
<div id="play-btn">
<a class="play-video" href="#flashArea1">Play Video</a>
</div>[code].....
View 1 Replies
Jun 2, 2010
How can I display alternate HTML with the jquery.swfobject plugin for browsers without Flash? I'm unable to find any documentation or examples showing how to do this.
Here is a snippet of my code:
<script type="text/javascript" language="Javascript" src="jquery.1.4.2.js"></script>
<script type="text/javascript" language="Javascript"
[Code]....
View 2 Replies
Apr 19, 2011
I've looked high and low for an answer to this and I'm hoping someone has an answer, or at least a tip on how to avoid it.I'm loading a static HTML file into a container via the jQuery load() method. This static HTML file has a script which loads a swf. When I load that particular file, I get the white screen of death (WSOD) and the page explodes and everyone in the room dies a horrible death.I've had this happen also when using the jQuery wrap methods (wrap, wrapOuter, etc.) when a swf is present.It seems manipulating the DOM with a container that has a swf object causes this. Does anyone have a solution or a way that I can prevent it happening?
View 1 Replies
May 3, 2011
I'm setting up a page that uses a flash menu to load html pages into a div container by the following call:
on (release){
getURL("javascript:getPage('test.html')");
}
The loading works fine, but some of my pages had specific jquery scripts and that's where I've struck out so far. I assumed all I needed to do was transfer the script importations, css stylesheets and the jquery functions to my main document, but it won't work.
I also tried importing the html as a the complete html, which works on it's own, but not when imported into the main document. Most recently I heard I should try shifting the jquery function calls to the end of the loaded document, to after the content, My scripts work, just not when imported, so I suppose my question is how can I make the main- and imported documents play nice with each other? What say you we make this a jump-start tutorial for all us noobs to reference?
View 2 Replies
Jun 28, 2011
Is there any way to play, stop or gotoAndPlay(anyframe) from JQuery?
View 2 Replies
Dec 31, 2009
So this is not something I wanted to get into on new years eve!! However, I have this SWF file:
http:[url]....note the fireworks in the back and it plays perfectly fine.this is the published HTML file http:[url].....and that too plays perfectly fine.. however when I call the swf file from my index file
View 2 Replies
Oct 26, 2009
Can't figure it out. I've got a video file to stream from my published Flash file. Works great at home.All the files are in a single folder. I transfer the folder to a jump drive to bring it to school and when I load it up on the website I get this green/black filer on the play skin andthe video won't play. I double check to see if I can play it on my school machinestraight off the jump drive and it doesn't work either (it did on my home machine).
View 8 Replies
Feb 28, 2012
I created a flash file that contains a flv file inside. After I published it on my Mac in both html and swf format and it played well. But when I copied all this folder include the swf, html and the source flv to test on a pc it played well but the video part (flv) was blank. So I copied the .fla file to pc and published again, then it works fine (including the flv video part) on both pc and Mac. All the settings were same while publishing.So I wonder what's wrong with publish from Mac side? I work with Mac and so it's very inconvenient to publish my work on PC.
View 5 Replies
May 20, 2011
How can I have a video (or youtube video) play on loading my website with the option to "skip". If the skip video is clicked then that will redirect to the index.html however how can I set it up so that when the Video finishes playing it automatically loads the index.html in the website.
(If the video has to be embedded in the index.html so that the rest of the website is elsewhere that's fine too).
View 1 Replies
Aug 19, 2009
I could get some direction on something that I have been wondering about for a while. There have several flash video players that I have seen that only start to load/play the video when the object is visible on the screen.
For instance, if I click a link to an html page with an auto playing flv on it, and then minimize the window. The video will only start to play/load once I maximize the window again.
The other instance I have seen it is with the position of the page. So if an flv is placed onto a long html page, all the way at the bottom, it will only begin to load/play once I have scrolled to make it visible.
I have done some searching but have not been able to determine what this would even be refered to as. Is it controlled by Javascript or Actionscript, or is this just a the way flash player functions?
View 7 Replies
Mar 19, 2012
I have a flash animation of a glowing orb.Orb should always be dark, but should glow when i hover over menu items.SWF file is written using actionscript3.And menu looks something like this
<ul class ="menu">
<li class="menuitem">menu1</li>
<li class="menuitem">menu2</li>
<li class="menuitem">menu3</li>
<li class="menuitem">menu4</li>
</ul>
I want my orb to glow whenever i hover over menuitem class. Should I link with jQ or should I create another SWF file for the menu and then link them together (if so, how do I do that).
View 1 Replies
Jul 13, 2009
i made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?
View 1 Replies
Feb 4, 2011
i am using jw player to play an flv file including captions. this seems to work fine. but now i need to play a ad before my flv file starts playing? or can we play flv files one aftre the another using jquery or any other idea?
View 1 Replies
Apr 30, 2010
Is there a method in Jquery to add a flash movie easily?
View 1 Replies
Mar 10, 2011
is it possible to get any information/text from JQuery Alert or a simple textbox (per ID)?
My Problem: I took a picture in Air 2.5, save it to my disk, load a locale HTML file with the new picture and JQuery detects faces on it. Then I place the coordinates of the face into the html box or show it in an alert box. How is it possible to get these coordinates from HTML/JQuery? Facedetection with JQuery needs 1-2seconds in the browser.
PS: I want to do this without php. only air, flash, HTML or JQuery or another Plugin (without an extra server/apache).
View 1 Replies
Feb 7, 2012
[code]...
How to stop the motion of a Flash Player by clicking a link?
View 1 Replies
Apr 24, 2011
I have a very complex social networking system built using the Adobe Flex SDK. Since we are experiencing certain performance issues, I want to move it to a "light-weight" platform, the backend is PHP so its just the UI.
What are my other options if I don't want to use Silverlight ?
I was told I could use AJAX/jQuery, which I am not familiar with - are there any GUI designers available ?What kind of GUI designer can I use to design my UI ?
View 2 Replies
Oct 19, 2011
The administrative portion is where our super users can either define a location as a numbers of rows, with a number of seats in each ( ie a cinema/concert lokale). The other option they have should be a much more flexible "seating" arrangement. Here we want the superuser to be able to upload an image and then draw places (ie a camping place). The user portion is either a simple page with all the rows of seats drawn or a view of the image with the drawn places overlaid. The user should then be able to choose a number of "tickets" and select places. For the fixed map, we want the tickets to be sticky (ie if you choose 3, they should be seated besides each other if possible?
View 3 Replies
Apr 18, 2011
I need to play preview video first, before starts play any other video. I am using jw player
View 1 Replies
Apr 7, 2011
I have a textbox on asp.net webform, which shows the jQuery datepicker on click. There is also a flash banner on my page.
My problem is that the datepicker is appears hidden behind the flash banner, and I need it to appear on top of the banner.
View 3 Replies
Apr 20, 2011
the thing i'm searching for my site is something that can show, and after 10 seconds, hide some html.Exactly is for a games site. I want to show ads during 10 seconds, and after this time, load the .SWF file of the game.During 10 seconds i want to show the window of the ad in the center of the field where later the game will be displayed. It's like a 700x500px window.One of the problems is that the ad window maybe 300x200px and i want to put it in the center. It's like i want to make a scene of 10 seconds with tha ad showing like the game is loading.I beg you to answer in a begginer level, i'm not expert in scripts, just know some html, that's why i'm a bit overwhelmed with the info i found in the net.
View 1 Replies
Dec 12, 2011
I want a feature in my site so that the user has the option of selecting a text on the page and pressing a button to listen to what is selected.
View 1 Replies
Feb 14, 2012
HTML Structure
<div class="dinz-slider-film trigger-vid">
<object width="480" height="340" class="vid-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="FlashID" style="visibility: visible;">
<param value="sites/all/themes/subtheme/images/test.swf" name="movie">
<param value="high" name="quality">
[Code]...
View 1 Replies
Nov 8, 2010
Im working on a slideshow based on the jquery cycle plugin (found here: [URL]. The slideshow slides between different divs where I can put different content such as images and text. However i'd also like to add swf movies to the script wich just on a basic overview works. The video starts playing when the slide becomes visible but stops before it's done and goes over to next slide.
Of course this happens since i have a timer for how long each slide should be visible. What i wonder though is if there's a way with the script for it to dynimacly get the length of the video and not change slide until the video is complete and just do this for swf videos.
View 1 Replies
Feb 4, 2012
I am currently building a custom jPlayer instance for a streaming media file. Having modified a supplied demo, I am able to get the player working in all major browsers except IE.
I have checked the swf path many times, which is loading without fault. I think I am unable to get the trigger to load the file in IE, resulting in "Attempt to issue media playback commands, while no mediaurl is set. Use mediaurl() to set. Context play()".
I am using an event trigger CSC class to play the media "track" in my source code (not mediaurl directly).
Below I will demo the current code, however I feel it would be more beneficial if someone could construct some pseudo code for me outlining the exact requirements to get this to work, and also an explanation of the GUI button CSS handles, so that I can get these working properly too (I may need to modify the JS, which is currently the standard).
I am using IE8 32 w/ Flash 8 and jPlayer 2.1.0
I only need the following functions:
Play button (jp_play?) - this should trigger the stream and then enable multiple other classes (jp_volume, jp_playline, jp_stop etc)
Stop button (to replace play button) - should stop (not pause) the stream and disable previously enabled classes.
If it helps jp_pause gives me all the required functionality with regard to hiding elements, except the mediaurl is paused, I need it stopping.
Current code snippets:
// Instance jPlayer
my_jPlayer.jPlayer({
ready: function () {
[Code]...
View 1 Replies
Jun 11, 2011
I've been experimenting with MXML- and spark-textarea (and richtexteditor)when I copied some formatted texts like Test tes1 from MS Word 2007 and paste them inside the flash textarea , the formattings are gone (I only receive the plain texts)But when I do the same to the Jwysiwyg (a jquery wysiwyg text editor), the formatting doesn't disppear.Is there a way to make flash textareas receive formatted texts without destroying the formattings?
View 1 Replies
Apr 13, 2010
I'm looking for a good jQuery plugin that allows HTML5 video playback, with graceful fallback to Flash (and potentially further, to default system player, etc). I've googled, but nothing I've found has been quite what I'm looking for.
View 3 Replies