Php :: Implement A Short Video (10 Seconds, Looping) In A Webpage?
Jan 27, 2012
I'm currently trying to implement a short video (10 seconds, looping) in a web page. Initially, we tried using HTML5 Video tag with .mov (and H.264 as video codec inside). The file size was a couple MB, but the servers we're using were at 99% CPU usage - which is way too high because they're stacked on top of one another and they could burn up if left at that pace for too long.
My question is simply: what is a good way to display a short 10 second looping video inside a web page that limits CPU usage and will keep a descent frame rate? We're exploring the option of good ol' Flash (SWF) files, but wanted to get some input.
View 1 Replies
Similar Posts:
Mar 9, 2010
I am a beginner looking to build my first Flash product. I am attempting to replace an existing PowerPoint, which is all text and picture based, and make it less boring by using Flash. I need to replace the pictures with about 25 short video files all under 30 seconds. Is it worth it to do this in Flash?Is there an existing template for this type of project?
View 3 Replies
Jul 19, 2010
1) I want a 60 seconds video to start playing after 40 seconds have been downloaded - to do that I set the NetStream.bufferTime to 40 seconds and retrieve "NetStream.Buffer.Full" event causing the video to really start playing. This step is OK.
2) However, the "NetStream.Buffer.Full" causes data to stop downloading. So the remainder of the video begins to download no sooner than after the 40 seconds have been played. This step is my issue. Can anyone tell me how to avoid this unintended effect? (i.e. playing a video and downloading data at the same time?)
View 2 Replies
Jan 18, 2011
I'm quite new to flash but have experience in other adobe programs, I'm trying to create banner with imbedded short video no more than 5-6 sec.I was desperately trying to find some tutorials or any help on this subject without success.
View 2 Replies
Mar 8, 2010
I have a long video of 50 minutes duration..
I want only show a segment for that video, for example I want to start from minute 15 until minute 16, Only shows a minute for that video, but, I want to see that video as a complete short video of 1 minute duration.
View 1 Replies
May 19, 2010
I have a long video of 50 minutes duration..I want only show a segment for that video, for example I want to start from minute 15 until minute 16, Only shows a minute for that video, but, I want to see that video as a complete short video of 1 minute duration.How can I make this goal?
View 1 Replies
Jan 23, 2010
I am trying to get a Flash movie I created to stop looping in my browser AFTER loading it into Dreamweaver. Here's what I've tried:
a) Place an AS3 "Stop();" at the end of the action script for the file (in Flash CS4).
b) Publish with "Loop" in HTML tab unchecked.
c) Open the tandem created .html file in my browser (Firefox)......and the movie plays then stops as hoped
d) Open Dreamweaver CS4
e) Import the swf file into a blank HTML page and Save the file.
f) Test the document in my browser. Movie plays, but the movie continues to loop.
as mentioned above, how can I stop the movie from looping after it's embedded in my web page in Dreamweaver? Is this a Dreamweaver 'problem' rather than a Flash one? The DW help file says to use Flash to control the loop....
View 1 Replies
Jun 29, 2005
I am in the process of making an web page in flash mx 2004. I have a little intro, home page, gallery, contact, etc....now the problem lies within my main buttons which are on everypage which link home and to gallery > so the navigational buttons. Now on the main timeline in flash I have the homepage as the first page then to the gallery. Then the gallery has subgalleries. I gave each button instance names and used that in the action script, I put it on the page frame for each page.
So on the home page I would have put in the action panel :
stop();
gallery_btn.onRelease=function() {
gotoAndPlay(9)
}
Now when I get to the gallery the return home button will go back to the home page frame. The only problem is that when this happens, the audio from the into in the first frame plays. Also in the subgalleries, I changed the frame that the gallery button is supposed to play, so it goes back and plays the gallery, and again plays the audio for the intro. What I think might be happening is that when the button is going back to a previous frame on the timeline, it isplaying the into on the first frame in the background. Another thing I noticed is when all of his started happening, the loading when I was testing the movie, it was loading longer than it should have.
Also, when I go to test my movie i get an output error stating:
**Error** Symbol=body galley, layer=Layer 7, frame=71:Line 1: Statement must appear within on handler
stop();
Total ActionScript Errors: 1 Reported Errors: 1
Now, there is a stop action on that frame, yet the error comes up, ive tried it without the stop();. ive tryied iit in a different layer on the same frame, but i still get the error. and the thing is with this problem, everything in this area works fine in the movie when I test it, so I am not quite sure where it getting that error from.
View 2 Replies
Jan 18, 2010
I was wondering how I can delay (2 seconds) a video to play in a Flash Video Player? I know one way is for me to add blank frames but I would like to know some other options.
View 2 Replies
Apr 20, 2009
I have a sporadic bug where sometimes when a video is played the video doesn't show up for about 10 seconds but the audio is there.
i'm using flash as3:
_video = new Video();
_sound = new SoundTransform();
var connection:NetConnection = new NetConnection();
[Code]....
View 1 Replies
Sep 23, 2010
I want to implement video chatting on my site. I understand that I need a table of users online with their ips and that there will be flash clients but I do not understand how the streams are handled. Do I need to have some sort of special stream process running somewhere? Can I just store the ips in a db and set them connections up in php like some sort of p2p service?
View 1 Replies
Mar 18, 2011
I want to implement Video Chat with two person, the person will be randomly selected like in chatroulette. I have no idea of RTMP server so is there any opensource system that I can use or create from scratch. I am new to flash and worked on php.
View 1 Replies
Nov 8, 2010
I've long heard that html5 can replace flash.Video chatting is not hard to implement in flash,but how to implement it with html5?
View 1 Replies
Jan 25, 2010
I am loading an video(flv) file and controlling the video using Play/Pause/Stop..everything is working fine. Now i want to implement streaming for this video. I am not using FLVPLAYBACK Component.
How to do this using flash cs3 ??? Except the streaming part i done everything.
Here's the code i am using :
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
[Code]......
View 1 Replies
Apr 30, 2011
I am developing an webcam recorder and would like to implement the buffer concept in order to avoid the dropping of video frames.[code]...
View 0 Replies
Mar 26, 2009
I am working on making a video player and implementing ads into it from YuMe, which is a video ads provider. THey have given a SDK in AS3 for implementing the ads but due to lack of content in the documentation, I am not able to figure out exactly how to place the ads in the player.
View 1 Replies
Mar 5, 2011
I'm new to Flash and I'm pretty sure this a dumb question that has been asked many times - but go easy on me as I have searched and searched through and just can't find the answer.
I've created my first animation using a set of digital Jpeg photos and I've figured out the code for inserting this into my web page. It works perfectly and I'm very impressed with the quality of the animation and how small the file is. Now I want to add a simple control bar underneath with Stop, Play, Rewind - the usual stuff you get on YouTube, but I can't for the life of me figure out how to do it.
View 15 Replies
Dec 8, 2009
I have flash video files to display on to website.The flv files are in 1024*768 size.But , when i am displaying the flv on website with 960*720,the video quality is not good.
How can we handle the video sizes on webpage?
View 2 Replies
Dec 6, 2010
What is the way to embed a FLV video on a web pageAre there available SWF ready to use and easy to customise that would allow a streaming of the FLV from our site to the client browser?In this case what would be the wrapping code to run and setup that SWF?
View 2 Replies
Jan 17, 2011
How do I make a code to pause the video for a certain time and then continue on after? (or play a specified frame)
View 1 Replies
Jan 26, 2009
Is it possible to load only the first 10 seconds of a video, and to play this section in loop ?
Code:
// Initialize net stream
nc = new NetConnection();
nc.connect(null);// Not using a media server.
[Code]....
View 4 Replies
Jun 29, 2009
I'm trying to get a video I've placed on stage in an FLV component to Loop to the beginning once it's finished playing.However, once it plays through it stops and doesn't loop round, although the trace statement I'm calling in the loopVideo function is appearing in the output window?[code]
View 1 Replies
Aug 25, 2009
I have a Network camera Sony SNC-RZ50P , I want to display the live video streaming in a web page? How to display this using Flash 8
View 1 Replies
Feb 19, 2010
I'm using Flash CS3 v9 on a PC to...
- use File > Import an AVI video and convert it to an FLV video.
- use File > publish to publish it.
- Then upload the four files...
.. MyVideo.flv
.. MyPage.html,
.. MyPage swf
.. AC_RunActiveContent.js
to my website.
Works Great!
My Question: Since Javascript seems to run the .swf file which pays the .flv video... (or some such) Can I use Javascript (or html) to tell when the FLV Video has finished playing... And then automatically call another webpage..
View 2 Replies
Nov 24, 2010
I would like to be able to play my flash video on top of my website, and then disappear once its finished. Just like on the apple website, with the macbook air. This is probably very simple, but I am not sure what it is called!
View 1 Replies
Feb 3, 2011
I am having a problem getting my flash file to work on my webpages. I first converted the original .avi to a .flv format,then I imported the.flv into flash. It has a skin because I wanted the users to be able to stop and pause the video. When I test the file outside of the web page it works fine. The skin file, the .flv and the .swf are all in the same folder. But when i Upload the webpage , the flash does not play online. If i preview in design mode, the flash file plays. Although with out the skin. Now if i open the flash file outside of the webdesign software it opens in a web browser and all works.
View 1 Replies
Jul 11, 2011
I am looking for a video player that can be embedded in a webpage and can play .swf files. I have tried Strobe Media Playback but it has a lot of bugs to it for .swf.
View 3 Replies
Mar 27, 2012
I am trying to build a web application that can capture audio and video from a web cam and upload it to our server. The solution should work with both Windows and Mac. Supporting mobile devices would be a plus, but is not required. My boss would prefer if the platform/framework was from Microsoft. My initial impulse was to start looking into SilverLight. Interestingly, there were plenty of demos showing how to capture video and display it to the user, As far as I can tell SilverLight will not record video.
I already have a component that can record video in a winforms application using DirectShow, but the goal is to build something that is cross-platform so that our program will work for Mac users as well as Windows users. A desktop application is not out of the question, but we would much prefer to stick to a web page. I am aware that Flash can record video from within a browser, but the higher ups would prefer to avoid flash. Is there any other way to record video captured from a user's webcam from within a web browser?
View 1 Replies
Sep 9, 2009
I imported flv flash video file into the Flash and added a controller there. I chose one from the list. I then published the video and got this swf file, which I then put onto the webpage using this code, as I want my page to be XHTML compliant:
HTML Code:
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
[code].....
View 5 Replies
Jul 7, 2010
I can get which part of file in bytes is loaded using netstream.bytesLoaded,netstream.bytesTotal, I can get the current playing position using netstream.time. But I want to know how many seconds of video are already loaded (not the length of buffer, which remains constant).
View 1 Replies