{"action":"closed","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/2415","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/2415/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/2415/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/2415/events","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/2415","id":88867827,"number":2415,"title":"2.0 Video source plays youtube no matter if we specify vimeo","user":{"login":"ciokan","id":474948,"avatar_url":"https://avatars.githubusercontent.com/u/474948?v=3","gravatar_id":"","url":"https://api.github.com/users/ciokan","html_url":"https://github.com/ciokan","followers_url":"https://api.github.com/users/ciokan/followers","following_url":"https://api.github.com/users/ciokan/following{/other_user}","gists_url":"https://api.github.com/users/ciokan/gists{/gist_id}","starred_url":"https://api.github.com/users/ciokan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciokan/subscriptions","organizations_url":"https://api.github.com/users/ciokan/orgs","repos_url":"https://api.github.com/users/ciokan/repos","events_url":"https://api.github.com/users/ciokan/events{/privacy}","received_events_url":"https://api.github.com/users/ciokan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/labels/Confirmed%20Bug","name":"Confirmed Bug","color":"D95C5C"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T23:41:22Z","updated_at":"2015-06-17T00:02:02Z","closed_at":"2015-06-17T00:02:01Z","body":"Title self explanatory. The following code attempts to play a youtube script even though vimeo is specified as a source:\r\n\r\n`<div class=\"ui embed active\" data-source=\"vimeo\" data-id=\"117778145\" data-placeholder=\"http://i.vimeocdn.com/video/514537226_640.jpg\">....`\r\n\r\nembed.js code responsible ~line 608:\r\n\r\n```\r\n    vimeo: {\r\n      name   : 'vimeo',\r\n      type   : 'video',\r\n      icon   : 'video play',\r\n      domain : 'vimeo.com',\r\n      url    : '//www.youtube.com/embed/{id}',\r\n      parameters: function(settings) {\r\n        return {\r\n          api      : settings.api,\r\n          autoplay : settings.autoplay,\r\n          byline   : settings.brandedUI,\r\n          color    : settings.colors || undefined,\r\n          portrait : settings.brandedUI,\r\n          title    : settings.brandedUI\r\n        };\r\n      }\r\n```"}}