{"id":21453,"date":"2019-09-07T09:08:35","date_gmt":"2019-09-07T13:08:35","guid":{"rendered":"https:\/\/johnesimpson.com\/blog\/?p=21453"},"modified":"2019-10-25T06:49:45","modified_gmt":"2019-10-25T10:49:45","slug":"admin-broken-audio-player-gizmo","status":"publish","type":"post","link":"https:\/\/johnesimpson.com\/blog\/2019\/09\/admin-broken-audio-player-gizmo\/","title":{"rendered":"ADMIN: Broken Audio-Player Gizmo?"},"content":{"rendered":"<p>If a post at <em>Running After My Hat<\/em> supposedly allows you to play music, but you can&#8217;t actually do so, please let me know via email (runningaftermyhatATjohnesimpsonDOTcom) and I&#8217;ll correct the situation ASAP. For details, see below. Thanks!<\/p>\n<p><!--more--><\/p>\n<span class=\"su-dropcap su-dropcap-style-light\" style=\"font-size:2em\">I<\/span> like adding music and sometimes other audio content to posts when relevant. Over the years, I&#8217;ve used a couple different audio-player gizmos here to make that possible; the catch is, they function as so-called &#8220;plugins&#8221; to the WordPress software which powers <em>RAMH<\/em> (and a gazillion other blogs).<\/p>\n<p>Why is this a catch? Because many plugins are built and maintained by a single individual, or by a small group of people&#8230; and over time, for one reason or another, this support drifts away or simply stops without warning.<\/p>\n<p>Such is the case with the audio player plugin I first used. When its developer left it behind, everything continued to &#8220;work,&#8221; kinda. But it continued to work only in certain browser versions &#8212; and so I added a <em>second<\/em> audio player to use on a going-forward basis. Since then, I&#8217;ve used only this other player, and replaced references to the old one when I came across them or when some site visitor reported a problem with an incompatible browser.<\/p>\n<p>This morning, I upgraded some of the critical software which WordPress itself relies on &#8212; which, naturally, no longer supports that first plugin at all. So if you go back to posts from years ago, you may encounter some strange behavior. Specifically, you may see something like this (from a post in August, 2008):<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-21455\" src=\"https:\/\/i0.wp.com\/johnesimpson.com\/blog\/wp-content\/uploads\/2019\/09\/brokenaudioplayer.png?resize=580%2C271&#038;ssl=1\" alt=\"\" width=\"580\" height=\"271\" srcset=\"https:\/\/i0.wp.com\/johnesimpson.com\/blog\/wp-content\/uploads\/2019\/09\/brokenaudioplayer.png?w=580&amp;ssl=1 580w, https:\/\/i0.wp.com\/johnesimpson.com\/blog\/wp-content\/uploads\/2019\/09\/brokenaudioplayer.png?resize=300%2C140&amp;ssl=1 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/p>\n<p>The key sign that this &#8220;audio player gizmo&#8221; is irretrievably broken is the bit outlined in red. The details will vary from one audio clip to another, but if you come across that <span style=\"font-family: monospace; font-size: 85%;\">audio: &#8230; | titles=&#8221;&#8230;&#8221; | artists=&#8221;&#8230;&#8221;<\/span> sort of notation with the square brackets around it then yes, you have encountered a broken player, so you can&#8217;t listen to the clip.<\/p>\n<p>I&#8217;ve been updating these broken things over the years, as I came across them. (As soon as I post this, I&#8217;ll go the page referenced above and fix it there.) But obviously many remain <em>un<\/em>fixed &#8212; if you find something you&#8217;d like me to correct, just drop a comment here, or of course email me: runningaftermyhatATjohnesimpsonDOTcom.<\/p>\n<p>Thanks for your help and patience!<\/p>\n<p><em><strong>Update (a few minutes later):<\/strong><\/em> I&#8217;ve fixed the audio players on <a title=\"Earlier RAMH post: The 'Sing, Sing, Sing' Triptych\" href=\"https:\/\/johnesimpson.com\/blog\/2008\/08\/the-sing-sing-sing-triptych\/\" target=\"_blank\" rel=\"noopener noreferrer\">the page described above<\/a> (including the wonky silver boxes around the section headers *cough*).<\/p>\n<p><em><strong>Update (a few <\/strong><\/em><strong>more <\/strong><em><strong>minutes later):<\/strong> <\/em>a quick search tells me that <em>over 200 posts<\/em> (of about 400 in <a title=\"RAMH posts in the 'Music' category\" href=\"https:\/\/johnesimpson.com\/blog\/category\/05_media\/music\/\" target=\"_blank\" rel=\"noopener noreferrer\">the Music category<\/a>) still contain the broken audio player&#8230; aaiiieee!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If a post at Running After My Hat supposedly allows you to play music, but you can&#8217;t actually do so, please let me know via email (runningaftermyhatATjohnesimpsonDOTcom) and I&#8217;ll correct the situation ASAP. For details, see below. Thanks!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","h5ap_radio_sources":[],"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"ADMIN: Broken Audio-Player Gizmo?","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12,74,17,19,20],"tags":[1864,4973,4974,4975],"class_list":{"0":"post-21453","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-03_runningaftermyhat","7":"category-music","8":"category-04_technology","9":"category-internet","10":"category-programmingetc","11":"tag-wordpress","12":"tag-plugins","13":"tag-audio-player","14":"tag-bugs-which-arent-bugs-really","15":"entry"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6kZSG-5A1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/posts\/21453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/comments?post=21453"}],"version-history":[{"count":14,"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/posts\/21453\/revisions"}],"predecessor-version":[{"id":21683,"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/posts\/21453\/revisions\/21683"}],"wp:attachment":[{"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/media?parent=21453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/categories?post=21453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnesimpson.com\/blog\/wp-json\/wp\/v2\/tags?post=21453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}