We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9a98c commit 1072d54Copy full SHA for 1072d54
Sources/Models/Error/YouTubePlayer+Error.swift
@@ -28,6 +28,8 @@ public extension YouTubePlayer {
28
case notFound
29
/// The owner of the requested video does not allow it to be played in embedded players.
30
case embeddedVideoPlayingNotAllowed
31
+ /// The request does not include the `HTTP Referer` header or equivalent API Client identification.
32
+ case missingAPIClientIdentification
33
}
34
35
@@ -42,7 +44,8 @@ public extension YouTubePlayer.Error {
42
44
5: .html5NotSupported,
43
45
100: .notFound,
46
101: .embeddedVideoPlayingNotAllowed,
- 150: .embeddedVideoPlayingNotAllowed
47
+ 150: .embeddedVideoPlayingNotAllowed,
48
+ 153: .missingAPIClientIdentification
49
]
50
51
/// Creates a new instance of ``YouTubePlayer/Error``.
0 commit comments