User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28

Thread: [Released] YouTube Object

  1. #1
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    [Released] YouTube Object

    [img=2,center]http://klikfusion.com/YTLogo.png[/img]
    [size:11pt]YouTube Object[/size]


    Info:

    This is a new extension I have been working on for a little while now (Over 2,000 lines of code :crazy: ). It allows you to embed/display YouTube videos in your swf files. You can have up to six videos running in your app at one time.(There is a reason for this which I will explain later.) There are two different ways to display movies:
    • Embedded Player
    • Chromeless Player

    The Embedded Player is very limited, and shows the default controls you see on YouTube. You can control this player like you would on the website. You cannot change the size of the player, as it depends on the resolution of the video embedded, and auto scales to the closest size: Default is 480px by 385px.

    The Chromeless Player is something I have been working on that allows much more control. This only shows the YouTube logo in the corner of the video, without any of the default controls. You can move, size, and completely control the video through events, even at runtime, which I show in one of the examples located below. This allows you to have full control over your interface, and what your videos do. I added expressions that allow you to get the state of the video(playing, buffering, ended, etc.), bytes loaded, video size, and even the bytes loaded since the video position has changed.

    Loading:

    Loading videos is straightforward. You load them by their 11 digit id which is uaually after a ?v=. If a YouTube Url is: http://www.youtube.com/watch?v=WE-sHASGToE then the id would be: WE-sHASGToE.

    Examples:

    The extension comes with two examples. The .html, .swf, and .mfa files are all included. You can preview them online at the following links:
    • Example 1 (6 random YouTube videos all playing at once)
    • Example 2 (A random YouTube video moving around the screen being controlled by events)

    Notes:

    Let me know what you guys think. I love hearing feedback, so have fun testing this extension, and feel free to show off what you create.
    Attached files Attached files
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    Very cool StephenL very cool.... !! The Developer-Battle has begun :grin: ( lol joke :whistle: )

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    Thanks Pharanygitis, lol.
    You know I'm happy you are developing extensions now. Looki and I could use the help. I wish more people would do it, like you and LB.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    Thats right.. i hope for more developers.. i have too much work to porting all the api's .. at the moment i'm on the GamerSafe-Api and the MindJolt Api.

    and... very cool extension StephenL .. I have needed this extension!

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    Absolutely great to see the flash runtime getting more powerful week by week with new useful extensions popping out. I can see a lot of use for this object!

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    Yea, for flashruntime ...It has a lot to be ported

  7. #7
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    Quote Originally Posted by StephenL
    The Chromeless Player is something I have been working on that allows much more control. This only shows the YouTube logo in the corner of the video, without any of the default controls. You can move, size, and completely control the video through events, even at runtime, which I show in one of the examples located below. This allows you to have full control over your interface, and what your videos do. I added expressions that allow you to get the state of the video(playing, buffering, ended, etc.), bytes loaded, video size, and even the bytes loaded since the video position has changed.
    So cool. Thank you StephenL, seems like a great extension, can't wait to try it out.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    So may I ask why it's limited to only 6 videos? Also is there any way to modify the movies like perspective or skew them or make them compatible with FlashFX/FlashExternalFiles Plus.

    And is it allowed to have several instances of this object to run more then 6 videos?

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Beta Release] YouTube Object

    Also two more questions - is it possible to recompile it for other runtimes like standard Exe/Java/Python?

    Or would it be possible to get a first frame of the movie as a picture, and data about movie like description?

  10. #10
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,015
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)

    Re: [Beta Release] YouTube Object

    Thanks Ste! Keep em coming! Would love to help out on ext dev but don't think I could donate the time yet!

    Will test and report
    Want to learn Clickteam Fusion 2.5?




Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. YouTube Player using Web Object
    By Fernando in forum File Archive
    Replies: 2
    Last Post: 4th December 2013, 07:50 PM
  2. Youtube object Question
    By pdsoft in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 4th May 2012, 11:23 PM
  3. Click-able bracket image in flash, youtube object?
    By FlameEX in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 22nd August 2011, 01:56 AM
  4. YouTube Object
    By Stephen in forum SWF/Flash Extensions
    Replies: 0
    Last Post: 27th March 2011, 05:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •