何個もファイルを書き出すがだるいので、mp4だけでなんとかする。
PC
- モダンブラウザ(VIDEOタグで再生)
- レガシークソブラウザ(swfで再生)
| span.atvwebplayersdk-captions-text { | |
| font-size: 2vw !important; | |
| } | |
| span.atvwebplayersdk-captions-text br { | |
| content: ""; | |
| } | |
| span.atvwebplayersdk-captions-text br::after { | |
| display:inline-block; | |
| content: ""; |
| /** Cookie Clicker AI for ver 2.0 | |
| * Author: Otto Kamiya a.k.a MegazalRock | |
| * License: MIT | |
| */ | |
| /* global Game, numberFormatters*/ | |
| (function(){ | |
| "use strict"; | |
| var AI = function(){ | |
| this.isEnable = true; |
| var oldIsPortrait; | |
| $(window) | |
| .on('resize.orientaionChange', function () { | |
| var $window = $(window); | |
| var isPortrait = $window.width() < $window.height(); | |
| if(oldIsPortrait !== isPortrait){ | |
| $window | |
| .trigger('orientaionChange', (isPortrait) ? 'portrait' : 'landscape'); | |
| oldIsPortrait = isPortrait; | |
| } |
| //ダメな実装 | |
| $('#gnav li') | |
| .each(function(){ | |
| $(this) | |
| .hover(function(){ | |
| }, function(){ | |
| $('body') | |
| .on('mousemove', function(){ | |
| //このmousemoveはmouseleaveする度にバインドされて、一度に複数回実行されることになる | |
| }); |
| <?php | |
| add_filter( 'xmlrpc_methods', 'Remove_Pingback_Method' ); | |
| function Remove_Pingback_Method( $methods ) { | |
| unset( $methods['pingback.ping'] ); | |
| unset( $methods['pingback.extensions.getPingbacks'] ); | |
| return $methods; | |
| } |
| var RndText = function(){ | |
| this.strCodes = { | |
| ja : [ | |
| { //hiragana | |
| start: 0x3041, | |
| end: 0x309f | |
| }, | |
| { //katakana | |
| start: 0x30a0, | |
| end: 0x30ff |
| #!/bin/sh | |
| #ブランチ名の取得 | |
| branch=$(git rev-parse --symbolic --abbrev-ref $1) | |
| test_dir=$HOME/www/test.grandam.jp/html | |
| product_dir=$HOME/www/grandam.jp/html | |
| repo_dir=$HOME/git/grandam.git | |
| #テスト環境に反映 | |
| if [ "$branch" = "master" ] | |
| then |