YouTube動画をWebページに埋め込み、字幕版・音声あり版を切り替えたい


Fatal error: Uncaught Error: Call to a member function id() on array in /home/miyasaka1/www/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /home/miyasaka1/www/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /home/miyasaka1/www/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '<html lang="ja"...') #3 /home/miyasaka1/www/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('<html lang="ja"...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /home/miyasaka1/www/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /home/miyasaka1/www/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(703): CrayonHighli in /home/miyasaka1/www/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36