YouTube モバイルが、NTTドコモ・KDDI(au)・ソフトバンクモバイルの主要機種で視聴可能になったと発表した。2009年4月4日からYouTube モバイルに「分割再生」と呼ぶ機能を実装したため可能になったわけで、今後はもっと利用されることでしょう。
携帯サイトにURLを貼り付ける場合と埋め込みの場合も公式サイトでは公表されていません。
携帯サイトにURLを貼り付けるのみ現在対応できます。
特に変更なしです。埋め込みはまだ未対応な感じです。
PCサイトと携帯サイト連動していて、PCサイトは埋め込みで、携帯サイトはURLを貼り付けてリンクする場合、以下のようにすれば簡易的に対応が可能です。
<object>?</object>が埋め込みでPCのも表示、<noscript>?</noscript>がURLのリンクで携帯サイトに表示。
※Webブラウザで元々scriptを無効にしているひとは両方表示されてしまいます。とりあえず簡易的に対応する場合の処理と考えてください。
<object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/各動画コード&hl=ja&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/各動画コード&hl=ja&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object>
<noscript><a href="http://www.youtube.com/watch?v=各動画コード">リンク先名</a></noscript>
※URLのhttp://www.youtube.com/は携帯サイトでアクセスするとhttp://m.youtube.com/に転送されます。正しくはhttp://m.youtube.com/です。今のところどちらでも可です。
Hey! I know this is kinda off topic but I'd figured I'd ask.
Would you be interested in trading links or maybe guest authoring a
blog article or vice-versa? My site discusses a lot of the same subjects
as yours and I believe we could greatly benefit from each other.
If you're interested feel free to send me an e-mail.
I look forward to hearing from you! Excellent blog by
the way!
I'm really inspired with your writing talents as neatly as with the structure
in your blog. Is this a paid theme or did
you modify it your self? Either way keep up the excellent quality writing, it's uncommon to
look a great blog like this one today..
This site was... how do I say it? Relevant!!
Finally I have found something that helped me. Thanks!