Youtube style buffering

Is there any way to make YouTube style buffering, like when I press pause - player continues buffering till end?
But when I just open the video file - it doesn't wait till full buffer and starts playing.

I think I understand what you're saying.  Sounds like you want to start with a very small buffer (so that the video starts immediately), and grow the buffer over time.  What you could do is start with the default bufferTime value (which is 0.1, I believe), and then adjust the bufferTime value as the buffer fills out.  You could do this based on how much data is in your buffer (i.e. the bufferLength property), or just slowly increase bufferTime as the video plays.  Here's some sample code (caveat: I haven't run this) showing how you might do the latter:
var timer:Timer = new Timer(3000);
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();
function onTimer(event:TimerEvent):void
     // Only grow the buffer when we're not buffering.
     if (mediaPlayer.bufferable && !mediaPlayer.buffering)
          mediaPlayer.bufferTime += 1.0;
Every 3 seconds, the timer will fire, and the event listener will check the buffer state.  If the video isn't buffering, then it will increment the bufferTime by one.  A more advanced version of this might check MediaPlayer.bufferLength to see whether an increase of bufferTime is safe, or whether it's likely to result in the need to buffer.
One thing I should point out is that the MediaPlayer.bufferTime and MediaPlayer.bufferLength properties refer to the memory buffer, not the disk buffer.  With progressive video, the download of the video file will proceed (based on your bandwidth) regardless of these properties, and there's not much you can do to control this.
Hope this helps,
Brian

Similar Messages

  • Youtube no buffering

    Hi there, got  problem with youtube, no buffering  on  O2,  from WI-FI working good???? 

    I also found it was Ad Block Plus. I'd blocked an embedded Youtube video from another page which subsequently blocked all Youtube videos.
    I disabled Ad blocking rule - ||s.ytimg.com/yt/swfbin/*
    Youtube now plays videos again.
    Hope this helps.

  • "YouTube-style" Play button on video

    I've successfully published a video but whenever I try to
    embed it in an HTML page, the video plays immediately when I open
    the page. I would like to have the video stopped by default with a
    big, "YouTube-style" Play button in the middle of the screen that
    users could click to get things started. Did I miss a setting
    somewhere that allows me to do this?
    Thanks,
    Sterling

    Welcome to our community, Sterling
    To pause a Captivate slide, you insert a Click Box or a
    Button object. Either of those should normally stop the slide from
    advancing until your user clicks to allow play to resume.
    For the image, you may wish to fashion one that you
    superimpose on the slide and possibly allow some transparency.
    Hopefully this helps... Rick

  • How can I make a "Youtube" style video gallery for offline, '.air' use?

    I work for a language company and we've put together a set of videos for use in computers, not online.  Currently we're using Apple's Keynote to present our videos to to the student.  This has the advantage of allowing us to put videos in a sequential order, with absolutely no work in the development department, and most importantly was easy for any student to control and navigate.
    Things have now changed.
    Keynote can no longer hold the size of our videos and we are constantly adding and changing videos all the time.  Now that CS5 is out, I would like to build a stand alone flash application for our system modeled after the same look and functionality of youtube. 
    Key features would be:
    • Main video player that links to our resident video files
    • Something that generates and displays a title for the current video
    • A text box below the main video player for notes and instructions
    • a side bar of thumbnails for all related videos, with titles displayed
    Future features would be an easy way for us to change videos in and out of the library (by "uploading" and "downloading" using a form for the videos, although not to the net, but again, on the resident computer).
    It looks like CS5 would make this possible.  My plan is to make a youtube-like site using flash catalyst.  I think I can do it myself since the first version only needs basic elements and design, but I know I'm going to run into some problems because I'm not sure the limitations of catalyst for this style of interactive video gallery. 
    What I'm looking for is someone to just quickly guide, tell, or yell me in the right direction, and I'm really keen (hell-bent?) on trying it out using Flash Catalyst... is this the way?
    Keeping in mind that my first draft only has to be a simple working version of the system, and I can play with the rest later, is any of what I said possible using flash catalyst?
    Thanks in advance to whoever can help me out!

    I doubt MU can do this.  It's pretty limited in scope &  I don't think it supports server-side code which you would need to parse feeds.  But feel free to post your question in the MU forum.  Maybe somebody there has a workaround.
    http://forums.adobe.com/community/muse/help_with_using_adobe_muse
    Nancy O.

  • Youtube 1080p buffering issue

    My iPad mini retina always buffers when playing a 1080p video on youtube but my nexus 7 2013 plays videos just fine in 1080p how do I fix this?

    Yes I get the same issue on my iPad air with the YouTube app.
    I'll be watching a YouTube video and every 30 seconds or so it will degrade to a lower quality for a few seconds, then the HD will come back on.
    I have 160 Mbit internet and this does not happen on the desktop PC.
    I loaded an alternative YouTube player onto my iPad and there was no such issue, so the problem is the official ipad app - its fantastic, but playback is poor recently, for some reason.
    What I have noticed is that the video does not seam to load ahead at all, there is no grey bar loading the video ahead of playback anymore.
    I think the app needs fixed.

  • Youtube frequent buffering

    in the past three weeks i avoided youtube cant really seem to watch any video without buffering every 10 seconds ...i tried empty cache and nothing seems to help ..is anyone having the same problem ?

    I think I understand what you're saying.  Sounds like you want to start with a very small buffer (so that the video starts immediately), and grow the buffer over time.  What you could do is start with the default bufferTime value (which is 0.1, I believe), and then adjust the bufferTime value as the buffer fills out.  You could do this based on how much data is in your buffer (i.e. the bufferLength property), or just slowly increase bufferTime as the video plays.  Here's some sample code (caveat: I haven't run this) showing how you might do the latter:
    var timer:Timer = new Timer(3000);
    timer.addEventListener(TimerEvent.TIMER, onTimer);
    timer.start();
    function onTimer(event:TimerEvent):void
         // Only grow the buffer when we're not buffering.
         if (mediaPlayer.bufferable && !mediaPlayer.buffering)
              mediaPlayer.bufferTime += 1.0;
    Every 3 seconds, the timer will fire, and the event listener will check the buffer state.  If the video isn't buffering, then it will increment the bufferTime by one.  A more advanced version of this might check MediaPlayer.bufferLength to see whether an increase of bufferTime is safe, or whether it's likely to result in the need to buffer.
    One thing I should point out is that the MediaPlayer.bufferTime and MediaPlayer.bufferLength properties refer to the memory buffer, not the disk buffer.  With progressive video, the download of the video file will proceed (based on your bandwidth) regardless of these properties, and there's not much you can do to control this.
    Hope this helps,
    Brian

  • Youtube app Buffering issues

    Not entirely sure if this is the right place to ask this but....
    So when I watch youtubes videos that longer than 5 minutes or so the youtube app is constantly trying to buffer. I have fast enough wifi I just did the ookla speedtest and my download speed is 56.84 mbps and my upload is 10.01 mbps so I don't think that's the issue.
    The symptoms:
    Whenever I watch average length youtube videos through the app (haven't tried through chrome or anything) the video is constantly combatting itself for video quality. I can watch a 10 minute youtube video and the video quality will hop around 240p to 1080p to 720p to 480p down 144p in a matter of seconds. The video will not pause but the quality jumps all the over the place throughout the entire video.
    Kind of ruining the experience.
    Also when I pause you can watch the buffer bar jump back and forth. Not buffered to ~30 seconds and back like bouncing back for instantly.
    Hopefully I'm not crazy and this is happening to other people.
    I have an ipad air 64gb version. Most updated version of youtoube app from May 8,2014

    My ISP is cox. I just did another Ookla test through my desktop. Speed is still the same. I had a problem with a teaching website awhile back so I called their support and they had me run some other connection tests and they said that my signal was sporadic and that I wasn't my connection it was the signal coming from my ISP.
    Youtube.com works fine through my ipad but the app is still buggy. The hard resest I did earlier brought everything back to normal for about a day then it jumped right back into the same routine. Netflix streams without any issues vimeo is fine too. I'm really starting to think it's just the app and people who are having trouble need to make it  a known issue.
    Also just read my original post and my grammar is ****...

  • YouTube App buffering

    Hi. I am currently experiencing quality drops/buffering on my iPhone 6 Plus's YouTube App. I have a Asus RT-AC87U router and I have done a speed test on the phone with OOKLA app. The results I got were 18ms ping, download: 68.18 mbps ans upload: 18.26 mbps. I have played the same video on my Nexus 5's YouTube app and I don't get any problems. I have also tried playing the same videos on the YouTube website on my iPhone and I also don't get any problems, so it seems to be the app. This problem has only started recently for me (well I noticed it last night when I setup my new router).
    My iPhone is also fully updated to the latest OS (8.1.2) and so are my apps.
    I was wondering whether anyone else is having the same or a similar issue and if someone has found a fix for this.
    Any help would be appreciated. Thanks.

    I have also noticed that when I force the app into 1080p the video crashes saying error. There seems to be no grey bar loading as the video plays. However forcing the video into 720p doesn't crash the video. Its strange because I don't get this problem at all with my Nexus 5.

  • Is After Effects Good for YouTube-Style presentations?

    Hi! I'm about to start a new channel where I'm going to make educational videos about mysterious/strange topics. I'm thinking of using an animation program for brief and simple short animations, that would make about 1/3 of my videos. Animations would be only for presenting my ideas, similar to CPG Grey's videos (a Youtuber with video style that I want to implement, particularly the visuals), not for anything serious like cartoons. It is in a power-pointish style but looks brilliant (apparently he uses Keynote but I don't have a Mac ). A sample of what I mean is here.
    I also want to learn After Effects for future video editing so I thought it might be a good idea to use it for the animations and learn it at the same time. So, any comments? Do you think I would be able to use AF for animations similar to those of CPG Grey's?
    Thank you for your replies!
    -Arty

    It's very hard to say how long it will take you to learn AE. AE is layer based and uses keyframes for anything you want to change. It also depends on how complicated you want to make your animation. A simple slide show timed to music takes an experienced artist with a fairly good set of tools about 20 to 30 seconds per slide to bring them in, set a keyframe for in and out, adjust position and move to the next shot. That means a 60 image slide show will take about a half hour to go through just to start. Throw in twice that much time for tweaking and you have an hour and a half for 60 slides. Now throw in any time you'll need to create any text or do any other animations - Figure 3 or 4 minutes minimum per new layer or effect, and add the time to produce the audio track and you've easily looking at 6 to 8 hours for a 60 slide show project.
    The other option, record your audio track, open up something like iPhoto or the windows equivalent and select fit slide show to audio track and push go.
    A new AE artist could easily spend a week doing a  60 slide show animation. Someone that's done a similar project a lot and isn't going to have to spend a lot of time creating graphics could knock one out in about an hour. If I were to tackle the job of reproducing the video you pointed us to I'd want a week. It would probably be done in 2 or 3 days, but I'd want a week. There's a lot more stuff in there than a clever script and a nicely produced audio track. This kind of stuff is not that hard but it is notoriously time consuming.
    BTW, the entire video you showed us could be produced in Power Point or Keynote in about the same time, may be even a little quicker.

  • Youtube Constantly Buffering: Wired and Wireless, Please Help

    Hi All,
    Hoping someone can shed some light on my issue.  I have a FIOS triple play bundle with 35/35 speeds.  When I run a speed test I typically see 42/38.  The problem starts when I go to watch Youtube videos on any of my 3 consoles.  I have an Xbox, PS3 and a Wii U.  The xbox and the ps3 are both hardwired into the router and the Wii U is wireless.  The problem I run into is that Youtube will constantly buffer almost all the time and render the video unwatchable unless you like a white circle constantly running on your screen.  This happens on all 3 consoles 9 times out of 10.  The strange part is that I log onto my PC, which is hooked wirelessly and I can watch Youtube videos without any sort of trouble.  Both Netflix and HBO GO and other video applications seem to be unaffected on all 3 consoles.  I run into the same problem on my cellphone as well while I have that connected wirelessly where I cannot watch the Youtube videos without constant streaming.  I understand that Verizon doesn't stand behind wireless speeds but the Wii U is not 12 inches below the router and I have trouble on my cell phone within 10 feet and have clear line of sight.  I have called Verizon and they ran me through a speed test and since I was getting higher speeds then what I pay for there is really nothing that they can do.  Any help or suggestions would be wonderful.  Thanks in advance.
    I have the MI424WR-GEN3I router and it is running firmware 40.20.1.
    Quick Edit: just tried to watch a Youtube video on my PC which usually works the best, and I am not even able to start a video at 360P quality.  I just ran 2 speed tests and receieved 43/29. 
    Edit: This can be closed, I just noticed there were 2 posts on the front page about this very same issue.  I give up on watching youtube then I guess. 

    Some folks have blocked a couple offending youtube cache servers and because it routes them to better ones, or directly to youtube instead and there have been mixed results but I think a majority of people have enjoyed better speeds on youtube because of it. 
    You are welcome to try it as well and let us know if it helps.
    Log into your FIOS Router
    Click Firewall Setting (at top)
    Click Yes to proceed
    Click Advanced Filtering (on left)
    Click Add on the broadband connection rules you have setup (either coax or ethernet). You can check which one yours uses by going to My Network (up top) and clicking Network Connections (on left), look for the one that says connected.
    Change Source address to User Defined in the drop down list
    Enter a description (i.e. Youtube Throttling)
    Click Add under items
    Change Network Object Type to IP Range
    Enter 173.194.55.0 in the From IP Address
    Enter 173.194.55.255 in the To IP Address
    Click Apply
    Click Add under items
    Change Network Object Type to IP Range
    Enter 206.111.0.0 in the From IP Address
    Enter 206.111.0.255 in the To IP Address
    Click Apply
    Click Apply again
    Click Reject under the Operation drop down list
    Click Apply

  • Youtube keeps buffering!

    I'm having a problem with youtube. Every time I watch anything on YT it has to buffer every few seconds, which makes life very uncomfortable when trying to watch videos. I never had this problem until recently. Anybody have any ideas about what my problem might be? Thanks in advance!

    Slow internet connection.
    Many users trying to view the same clip.
    Need to update Adobe Flash Player.
    Many users in your ISP area online.
    any or some or all of the above.

  • Youtube not buffering

    I can't get YouTube videos to buffer all the way, it normally stops at about 10%. I have reloaded the flashplayer with no luck, need help!

    So, then...just to humour us, and help with the troubleshooting process...
    You've:
    a) restarted the mac.
    b) power-cycled the router.
    c) looked up 'repair permissions' on your own and answered your own question?
    (google? mac 'help'menu?)
    Oh, have you tried clearing the caches in your browser? (safari menu, ResetSafari)
    And what version of Safari? Have you downloaded the Beta version 3?
    Oh, and have you tried another browser? (firefox, camino, mozilla, etc)
    Thanks for helping us help you.

  • Youtube App buffering issue?

    Hello, my iPad Air (Wi-Fi only Model) has been having issues with the Youtube app recently, and I want to see if anyone else is having any issues. My issue comes down to the iPad Youtube app being unable to buffer certain videos. It's a really strange problem. This problem started about when 7.1.1 came out, I believe.
    I will watch a 30 minute "Let's Play Minecraft" video from Rooster Teeth/Achievement Hunter at 720p without any issues. Then, watch a four (4) minute music video and throughout that short video, the quality will change from 720p to 240p and keeping changing throughout the video till it's over, but the video never stops playing.
    I ran a speed test with the OOKLA speed test app. My ping is 21, with a Downoad rate of 39Mbps, and an Upload rate of 11.5Mbps.
    Strange thing is, my iPhone 5 will play the videos that I have an issue with on my iPad, just fine.
    So, is this an issue with the iPad Youtube app, or could something else be happening?
    Thank you in advance!

    Yes I get the same issue on my iPad air with the YouTube app.
    I'll be watching a YouTube video and every 30 seconds or so it will degrade to a lower quality for a few seconds, then the HD will come back on.
    I have 160 Mbit internet and this does not happen on the desktop PC.
    I loaded an alternative YouTube player onto my iPad and there was no such issue, so the problem is the official ipad app - its fantastic, but playback is poor recently, for some reason.
    What I have noticed is that the video does not seam to load ahead at all, there is no grey bar loading the video ahead of playback anymore.
    I think the app needs fixed.

  • Problems with youtube not buffering

    youtube will not buffer videos but all other computers on the same network will.  does anyone have a salution

    Try unistalling the Flash plugin (most YouTube content requires that plugin)
    Troubleshoot Flash Player | Mac OS

  • Videos stop playing in Youtube after buffering a few seconds

    Current Computer Specifications used:
    OS:  Windows 7 Professional 64-bits
    Service Pack:  1 (Latest)
    RAM: 8 GB
    Processor: Intel Dual Core
    Flash Player version:  11.6.602.180
    Web Browser:  Firefox 20.0
    Your help is sincerely appreciated in advance to fix this issue.
    Regards,

    I have this same problem, and I did a clean installation.
    Hardware:
    2009 MacBoook Pro 17" 3.06 C2D; 4 GB RAM, 256 Apple SSD
    While loading the browser is quick starting up, I notice a delay to open any website, like it's preloading the entire page versus just loading.  Safari seems like it's a bit sluggish overall with loading web pages.
    Did a internet speed test and my U/D rates are the same after the upgrade.

Maybe you are looking for