My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package de.derhess.video.youtube
{

/**
* released under MIT License (X11)
* http://www.opensource.org/licenses/mit-license.php
*
* Class stores the YouTube Player resolution formats
*
* @author Florian Weil [derhess.de, Deutschland]
* @see http://blog.derhess.de
*/

public class YouTubeVideoQuality
{
//--------------------------------------------------------------------------
//
// Class variables
//
//--------------------------------------------------------------------------
public static const SMALL:String = "small"; // Player resolution less than 640px by 360px.
public static const MEDIUM:String = "medium"; // Minimum player resolution of 640px by 360px.
public static const LARGE:String = "large"; // Minimum player resolution of 854px by 480px.
public static const HD720:String = "hd720"; // Minimum player resolution of 1280px by 720px.
public static const DEFAULT:String = "default"; //YouTube selects the appropriate playback quality.
public static const ALL:Array = ["default","small","medium","large","hd720"];
//--------------------------------------------------------------------------
//
// Initialization
//
//--------------------------------------------------------------------------

public function YouTubeVideoQuality()
{
throw new Error("YouTubeVideoQuality is a static class. Creating instances are not allowed!");
}




}
}

Change log

r11 by Florian....@derhess.de on Oct 27, 2009   Diff
added YouTube AS3 Chromeless API Wrapper
Version 1.0
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1592 bytes, 42 lines
Powered by Google Project Hosting