You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
2023年12月 (1) 2023年11月 (116) 2023年10月 (79) 2023年9月 (28) 2023年8月 (7) 2023年7月 (6) 2023年6月 (101) 2023年5月 (229) 2023年4月 (201) 2023年3月 (206) 2023年2月 (147) 2023年1月 (193) 2022年12月 (146) 2022年11月 (54) 2022年10月 (1) 2022年9月 (1) 2022年8月 (1) 2022年7月 (3) 2022年6月 (1) 2021年9月 (1) 2021年8月 (8) 2021年6月 (3) 2021年4月 (4) 2021年3月 (6) 2021年2月 (1) 2021年1月 (3) 2020年12月 (2) 2020年11月 (2) 2020年10月 (5) 2020年9月 (12) 2020年8月 (40
Youtube動画を閲覧するAndroidアプリを作っていた。 基本的に画面は縦で使うのを想定しているが、再生中などにフルスクリーンボタンを押すとフルスクリーンになるようにしたかった。 フルスクリーンにしてから暫く経つと、ステータスバーとナビゲーションバー(バックボタンとかホームボタンのバー)が非表示になる。 それに合わせてプレーヤーViewが大きくなってくれず、ステータスバーとナビゲーションバーのところが黒い空白になってしまった。 完全なフルスクリーンにすることができなかった。 ステータスバーとナビゲーションバーが自動で隠れなければそれでもいいし、隠れるならばViewも大きくしたい。どちらかにしたい。 色々調べたが、なかなか解決できなかった。 とりあえず、フラグ YouTubePlayer.FULLSCREEN_FLAG_CUSTOM_LAYOUT のセットを外したら、Veiwも一緒に大
Androidで、youtubeの動画を再生するには大きく分けて2つの方法があります。 1つは、youtubeアプリに対してIntentを飛ばす方法で、 例えば下記のように記載することで直接youtubeアプリを起動することができます。 Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setPackage("com.google.android.youtube"); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); もう一つは、YouTube Android Player APIを使用する方法です。 これは、googleが提供しているAPIで、自分のアプリ内でy
YouTube Android Player API Stay organized with collections Save and categorize content based on your preferences. This SDK has been fully deprecated. It is no longer supported or maintained by YouTube. Please use the YouTube IFrame Player API instead. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed un
Thursday, July 22, 2010 A New Way To Embed YouTube Videos An enhancement to our video embed capability is now available through a new embed code style. This new style uses <iframe> and looks like this:<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/VIDEO_ID" frameborder="0"> </iframe> Example: If you use the new embed code style, your view
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く