{"action":"closed","issue":{"url":"https://api.github.com/repos/rbeezer/mathbook/issues/395","repository_url":"https://api.github.com/repos/rbeezer/mathbook","labels_url":"https://api.github.com/repos/rbeezer/mathbook/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/rbeezer/mathbook/issues/395/comments","events_url":"https://api.github.com/repos/rbeezer/mathbook/issues/395/events","html_url":"https://github.com/rbeezer/mathbook/issues/395","id":177700286,"number":395,"title":"ytplayer id","user":{"login":"Alex-Jordan","id":4732672,"avatar_url":"https://avatars.githubusercontent.com/u/4732672?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex-Jordan","html_url":"https://github.com/Alex-Jordan","followers_url":"https://api.github.com/users/Alex-Jordan/followers","following_url":"https://api.github.com/users/Alex-Jordan/following{/other_user}","gists_url":"https://api.github.com/users/Alex-Jordan/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex-Jordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex-Jordan/subscriptions","organizations_url":"https://api.github.com/users/Alex-Jordan/orgs","repos_url":"https://api.github.com/users/Alex-Jordan/repos","events_url":"https://api.github.com/users/Alex-Jordan/events{/privacy}","received_events_url":"https://api.github.com/users/Alex-Jordan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rbeezer/mathbook/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/rbeezer/mathbook/labels/z-video","name":"z-video","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-19T03:55:17Z","updated_at":"2016-09-20T04:44:14Z","closed_at":"2016-09-20T04:44:14Z","body":"At line 3940 of `mathbook-html.xsl` there is \r\n\r\n```\r\n    <xsl:element name=\"iframe\">\r\n        <xsl:attribute name=\"id\">ytplayer</xsl:attribute>\r\n```\r\n\r\nWhen multiple youtube videos are in a document, this can make a single page have several iframes with the same id. I think this leads to error messages from `xsltproc` that I get, like:\r\n\r\n```\r\nelement iframe: validity error : ID ytplayer already defined\r\nelement iframe: validity error : ID ytplayer already defined\r\nelement iframe: validity error : ID ytplayer already defined\r\n```\r\nI even get this from the sample article:\r\n\r\n```\r\nsyst203m4138:sample-article alex.jordan$ xsltproc ../../xsl/mathbook-html.xsl sample-article.xml \r\nelement iframe: validity error : ID ytplayer already defined\r\nelement iframe: validity error : ID ytplayer already defined\r\n```\r\n\r\n "}}
{"actor":{"display_login":"rbeezer"}}