My favorites
▼
|
Sign in
derhess
derhess.de code base
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
AS3
/
de
/
derhess
/
video
/
youtube
/
YouTubeVideoQuality.as
r42
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!");
}
}
}
Show details
Hide details
Change log
r11
by Florian....@derhess.de on Oct 27, 2009
Diff
added YouTube AS3 Chromeless API Wrapper Version 1.0
Go to:
/trunk/AS3/de/derhess/video/youtube
...hess/video/youtube/AirYouTube.as
...ss/video/youtube/FlashYouTube.as
...ess/video/youtube/FlexYouTube.as
...hess/video/youtube/YouTubeAS3.as
...ss/video/youtube/YouTubeError.as
...ss/video/youtube/YouTubeEvent.as
...o/youtube/YouTubePlayingState.as
...o/youtube/YouTubeVideoQuality.as
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 1592 bytes, 42 lines
View raw file
Powered by
Google Project Hosting