diff --git a/types/youtube/index.d.ts b/types/youtube/index.d.ts index b04d727378..5739e4c6fd 100644 --- a/types/youtube/index.d.ts +++ b/types/youtube/index.d.ts @@ -5,6 +5,7 @@ // Josh Goldberg // Eliot Fallon // Terry Mun +// Paul Hobbel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -30,7 +31,7 @@ declare namespace YT /** * Known causes for player errors. */ - export const enum PlayerError + export enum PlayerError { /** * The request contained an invalid parameter value. @@ -61,7 +62,7 @@ declare namespace YT /** * Whether to auto-hide video controls. */ - export const enum AutoHide + export enum AutoHide { /** * Controls are visible throughout the video @@ -82,7 +83,7 @@ declare namespace YT /** * Whether to autoplay the video. */ - export const enum AutoPlay + export enum AutoPlay { /** * Video does not autoplay. @@ -98,7 +99,7 @@ declare namespace YT /** * Whether to use user-preferred or forced caption loading. */ - export const enum ClosedCaptionsLoadPolicy + export enum ClosedCaptionsLoadPolicy { /** * Defaults to the user's preferences. @@ -119,7 +120,7 @@ declare namespace YT /** * How video controls are shown. */ - export const enum Controls + export enum Controls { /** * Player controls do not display. @@ -140,7 +141,7 @@ declare namespace YT /** * Whether to allow keyboard controls. */ - export const enum KeyboardControls + export enum KeyboardControls { /** * Keyboard controls are enabled. @@ -156,7 +157,7 @@ declare namespace YT /** * Whether the JavaScript API should be enabled. */ - export const enum JsApi + export enum JsApi { /** * JavaScript API will be disabled. @@ -172,7 +173,7 @@ declare namespace YT /** * Whether to display the full-screen button. */ - export const enum FullscreenButton + export enum FullscreenButton { /** * The full screen button is hidden. @@ -188,7 +189,7 @@ declare namespace YT /** * Whether to show video annotations. */ - export const enum IvLoadPolicy + export enum IvLoadPolicy { /** * Video annotations will be shown. @@ -224,7 +225,7 @@ declare namespace YT /** * Whether a single video should be looped. */ - export const enum Loop + export enum Loop { /** * Video or playlist will be played only once. @@ -240,7 +241,7 @@ declare namespace YT /** * Comma separated list of video IDs to play after the URL path's video. */ - export const enum ModestBranding + export enum ModestBranding { /** * Player will contain full YouTube branding. @@ -256,7 +257,7 @@ declare namespace YT /** * Whether to playback video inline or full-screen in an HTML5 player on iOS */ - export const enum PlaysInline + export enum PlaysInline { /** * Playback in fullscreen. @@ -272,7 +273,7 @@ declare namespace YT /** * Whether to show related videos after the video finishes. */ - export const enum RelatedVideos + export enum RelatedVideos { /** * Hide related videos after playback is complete. @@ -288,7 +289,7 @@ declare namespace YT /** * Whether to show video information before playing. */ - export const enum ShowInfo + export enum ShowInfo { /** * Hide video title and uploader before video starts playing.