{"action":"created","issue":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/1212","labels_url":"https://api.github.com/repos/kenwheeler/slick/issues/1212/labels{/name}","comments_url":"https://api.github.com/repos/kenwheeler/slick/issues/1212/comments","events_url":"https://api.github.com/repos/kenwheeler/slick/issues/1212/events","html_url":"https://github.com/kenwheeler/slick/issues/1212","id":66939358,"number":1212,"title":"Stripping out ids on cloned slides causes problems when using video on carousels","user":{"login":"tslatt","id":2651562,"avatar_url":"https://avatars.githubusercontent.com/u/2651562?v=3","gravatar_id":"","url":"https://api.github.com/users/tslatt","html_url":"https://github.com/tslatt","followers_url":"https://api.github.com/users/tslatt/followers","following_url":"https://api.github.com/users/tslatt/following{/other_user}","gists_url":"https://api.github.com/users/tslatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tslatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tslatt/subscriptions","organizations_url":"https://api.github.com/users/tslatt/orgs","repos_url":"https://api.github.com/users/tslatt/repos","events_url":"https://api.github.com/users/tslatt/events{/privacy}","received_events_url":"https://api.github.com/users/tslatt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-07T17:07:31Z","updated_at":"2015-04-08T13:15:59Z","closed_at":"2015-04-08T01:04:04Z","body":"Currently, ids are stripped from everything inside a cloned slide, which makes some sense, because ids must be unique. (See https://github.com/kenwheeler/slick/issues/116). \r\n\r\nThis seems to be ok for slideshows, since once a cloned slide is slid to, the slider shifts so it immediately gets replaced by its 'real' version, where anything triggered by ids is still functional. However, for carousels that show more than one object at a time, when you are toward the end of the carousel, you see the clones on screen, and they are not immediately replaced.\r\n\r\nI have videos in the slides that use JWPlayer and require an id. With the ids stripped, videos in the cloned slides do not work. Since its in a carousel, users can see the broken video players on screen until they scroll far enough that the carousel shifts back to start.\r\n\r\nI've tried to change slick.js to not strip the ids, but to just append the word 'clone' to the id, so it stays unique, but I must be doing something wrong because it keeps breaking.\r\n\r\n**Can someone tell me how to change the script slick.js to not strip the ids, but to just append text to them to make them unique?**\r\n\r\nAny assistance would be greatly appreciated."},"comment":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/comments/90911595","html_url":"https://github.com/kenwheeler/slick/issues/1212#issuecomment-90911595","issue_url":"https://api.github.com/repos/kenwheeler/slick/issues/1212","id":90911595,"user":{"login":"tslatt","id":2651562,"avatar_url":"https://avatars.githubusercontent.com/u/2651562?v=3","gravatar_id":"","url":"https://api.github.com/users/tslatt","html_url":"https://github.com/tslatt","followers_url":"https://api.github.com/users/tslatt/followers","following_url":"https://api.github.com/users/tslatt/following{/other_user}","gists_url":"https://api.github.com/users/tslatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tslatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tslatt/subscriptions","organizations_url":"https://api.github.com/users/tslatt/orgs","repos_url":"https://api.github.com/users/tslatt/repos","events_url":"https://api.github.com/users/tslatt/events{/privacy}","received_events_url":"https://api.github.com/users/tslatt/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T13:15:59Z","updated_at":"2015-04-08T13:15:59Z","body":"Thanks!"}}