{"action":"created","issue":{"url":"https://api.github.com/repos/clappr/dash-shaka-playback/issues/7","repository_url":"https://api.github.com/repos/clappr/dash-shaka-playback","labels_url":"https://api.github.com/repos/clappr/dash-shaka-playback/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/clappr/dash-shaka-playback/issues/7/comments","events_url":"https://api.github.com/repos/clappr/dash-shaka-playback/issues/7/events","html_url":"https://github.com/clappr/dash-shaka-playback/issues/7","id":146719902,"number":7,"title":"hls as fallback when using shaka plugin","user":{"login":"deedos","id":184996,"avatar_url":"https://avatars.githubusercontent.com/u/184996?v=3","gravatar_id":"","url":"https://api.github.com/users/deedos","html_url":"https://github.com/deedos","followers_url":"https://api.github.com/users/deedos/followers","following_url":"https://api.github.com/users/deedos/following{/other_user}","gists_url":"https://api.github.com/users/deedos/gists{/gist_id}","starred_url":"https://api.github.com/users/deedos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deedos/subscriptions","organizations_url":"https://api.github.com/users/deedos/orgs","repos_url":"https://api.github.com/users/deedos/repos","events_url":"https://api.github.com/users/deedos/events{/privacy}","received_events_url":"https://api.github.com/users/deedos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-07T19:25:31Z","updated_at":"2016-04-13T17:39:03Z","closed_at":null,"body":"Hi.\r\n\r\nMy idea is using dash as primary and for old browsers, fallback to an hls with Flash. My code as follow:\r\n```\r\n<html>\r\n  <head>\r\n    <script src=\"https://cdn.jsdelivr.net/clappr/latest/clappr.min.js\"></script>\r\n    <script src=\"https://cdn.jsdelivr.net/clappr.dash-shaka-playback/latest/dash-shaka-playback.js\"></script>\r\n  </head>\r\n\r\n  <body>\r\n    <div id=\"player\"></div>\r\n    <script>\r\n      var player = new Clappr.Player(\r\n        {\r\n          source: 'https://shaka-player-demo.appspot.com/assets/angel_one.mpd?_=1446383792251',\r\n          source: 'http://nasatv-lh.akamaihd.net/i/NASA_101@319270/master.m3u8',\r\n          plugins: {\r\n            'playback': [DashShakaPlayback],\r\n            \r\n          },\r\n\r\n          parentId: '#player'\r\n        });\r\n    </script>\r\n  </body>\r\n</html>\r\n```\r\n\r\nEven on browsers with MSE enabled, tha player gives priority to the hls stream. How to state the priority to the MPEG DASH stream ?\r\n\r\nmany thanks in advance"},"comment":{"url":"https://api.github.com/repos/clappr/dash-shaka-playback/issues/comments/209558724","html_url":"https://github.com/clappr/dash-shaka-playback/issues/7#issuecomment-209558724","issue_url":"https://api.github.com/repos/clappr/dash-shaka-playback/issues/7","id":209558724,"user":{"login":"leandromoreira","id":55913,"avatar_url":"https://avatars.githubusercontent.com/u/55913?v=3","gravatar_id":"","url":"https://api.github.com/users/leandromoreira","html_url":"https://github.com/leandromoreira","followers_url":"https://api.github.com/users/leandromoreira/followers","following_url":"https://api.github.com/users/leandromoreira/following{/other_user}","gists_url":"https://api.github.com/users/leandromoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/leandromoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandromoreira/subscriptions","organizations_url":"https://api.github.com/users/leandromoreira/orgs","repos_url":"https://api.github.com/users/leandromoreira/repos","events_url":"https://api.github.com/users/leandromoreira/events{/privacy}","received_events_url":"https://api.github.com/users/leandromoreira/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T17:39:03Z","updated_at":"2016-04-13T17:39:03Z","body":"yes @deedos :+1: \r\n\r\n1. git clone clappr\r\n2. npm install\r\n3. npm run release\r\n4. use dist/ folder\r\n\r\n=)\r\n\r\nSince we didn't release a new version yet."}}