st43
st43

Reputation: 1

Embedded YouTube video views on iOS app are not counted

I added embedded Youtube video to my iOS app. It's work, but not counted as view counts!
I couldn't find its access on YouTube studio.
The video is YouTube Live Stream.
Doesn't playing via API consider as right view counts?
I feel the criteria is blackbox.

Selected library is below:

YoutubePlayer-in-WKWebView

My code is below:

    private let youtubePlayer = WKYTPlayerView()

    private func loadInline() {
        youtubePlayer.load(withVideoId: videoID,
                           playerVars: ["playsinline": 1, "controls": 1])
    }
    
    func startInline() {
        youtubePlayer.playVideo()
    }

I could find my access from YouTube App.
Perhaps mobile access via API is not counted, but official YouTube app is counted.
I cannot find related documents.

Upvotes: 0

Views: 282

Answers (1)

st43
st43

Reputation: 1

I have read YouTube Documents in Japanese, but its translation is somehow misunderstood. The comments on the question helped me understand that.

Clearly YouTube declares they count only play via a native play button.
It means playback via API call is ignored.
(I guess it means user tap action would be counted.
A play button on my app is not "native")

Note: A playback only counts toward a video's official view count if it is initiated via a native play button in the player.

Playback controls and player settings

Upvotes: 0

Related Questions