Saturday, June 2, 2012

[YouTube-API] Re: Embed referral

Hi Jeff,

It's an embed tag that gets manually inserted into an iPhone UIWebview, so no real domain or host involved.

 <embed id="yt" src="http://www.youtube.com/watch?v=czfCkWQHo1k" type="application/x-shockwave-flash" width="400" height="225"></embed>


So, yeah, was wondering if our app id or something else could be put into the SRC to hint at the source referrer/app. Right now all views from our app are lumped under the "First view from a mobile device" event.

-Jerry


On Wednesday, May 30, 2012 12:49:09 PM UTC-4, Jeffrey Posnick wrote:
Hello Jerry,

 What do you mean by "basic embed code"? Are you using an <object> tag
or an <iframe> tag?

 If the playback happens via an <iframe> tag then I'd expect the
referrer to show up as whatever the host domain is for your HTML page,
since it's a standard embedded playback scenario. If you use the
<object> tag then playback is handled by the built-in YouTube app, and
I don't think there's any way to set a referrer.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On May 28, 7:18 am, jerryh <jhalst...@gmail.com> wrote:
> We develop an iPhone video app and one section provides a list of user
> created videos for viewing. The viewer is a UIWebView using basic embed
> code. Is there any way to add a parameter so our app shows up in the
> referrer list as a traffic source for the YouTube video's statistics? I
> don't think the iOS UIWebView puts in a referrer by default so there's no
> way for a user (or even with our own videos) to tell how many views came
> from our app.
>
> Thanks!
>
> -Jerry

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/SVg5skE55gkJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment