{"action":"created","issue":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1416","repository_url":"https://api.github.com/repos/eclipsesource/tabris-js","labels_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1416/labels{/name}","comments_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1416/comments","events_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1416/events","html_url":"https://github.com/eclipsesource/tabris-js/issues/1416","id":240833245,"number":1416,"title":"Video not running from built in app","user":{"login":"natanraj","id":11765325,"avatar_url":"https://avatars2.githubusercontent.com/u/11765325?v=4","gravatar_id":"","url":"https://api.github.com/users/natanraj","html_url":"https://github.com/natanraj","followers_url":"https://api.github.com/users/natanraj/followers","following_url":"https://api.github.com/users/natanraj/following{/other_user}","gists_url":"https://api.github.com/users/natanraj/gists{/gist_id}","starred_url":"https://api.github.com/users/natanraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natanraj/subscriptions","organizations_url":"https://api.github.com/users/natanraj/orgs","repos_url":"https://api.github.com/users/natanraj/repos","events_url":"https://api.github.com/users/natanraj/events{/privacy}","received_events_url":"https://api.github.com/users/natanraj/received_events","type":"User","site_admin":false},"labels":[{"id":317918854,"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/android","name":"android","color":"009800","default":false},{"id":99273081,"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/bug","name":"bug","color":"d93f0b","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/milestones/24","html_url":"https://github.com/eclipsesource/tabris-js/milestone/24","labels_url":"https://api.github.com/repos/eclipsesource/tabris-js/milestones/24/labels","id":2718620,"number":24,"title":"2.2 (September 2017)","description":"","creator":{"login":"tbuschto","id":527303,"avatar_url":"https://avatars1.githubusercontent.com/u/527303?v=4","gravatar_id":"","url":"https://api.github.com/users/tbuschto","html_url":"https://github.com/tbuschto","followers_url":"https://api.github.com/users/tbuschto/followers","following_url":"https://api.github.com/users/tbuschto/following{/other_user}","gists_url":"https://api.github.com/users/tbuschto/gists{/gist_id}","starred_url":"https://api.github.com/users/tbuschto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbuschto/subscriptions","organizations_url":"https://api.github.com/users/tbuschto/orgs","repos_url":"https://api.github.com/users/tbuschto/repos","events_url":"https://api.github.com/users/tbuschto/events{/privacy}","received_events_url":"https://api.github.com/users/tbuschto/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2017-08-23T15:02:13Z","updated_at":"2017-09-27T15:14:21Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-07-06T03:15:47Z","updated_at":"2017-09-27T15:14:21Z","closed_at":null,"author_association":"NONE","body":"\r\n### Problem description\r\n\r\nI have a small 4mb video inside my built app (like images). It is not fetched from network, but inside the apk itself. When i used the simple example snippet below, it is not playing the video. Just a black screen is shown with the button as coded.\r\n\r\nReady event is not fired, but open is fired.\r\n\r\n### Expected behavior\r\n\r\nThe video should play, immediately. \r\nI verified the relative path of the video. It is perfectly there. and apk size is also increased accordingly when i built.\r\n\r\n### Environment\r\n\r\n- 2.x nightly\r\n- Xiomi Note 3\r\n- OS: Android 6.0\r\n\r\n### Code snippet\r\n\r\n```javascript\r\nconst {Button, Video, ui} = require('tabris');\r\n\r\nlet video = new Video({\r\n  left: 0, top: 0, right: 0, bottom: '#button 16',\r\n  url: './src/videos/myvideo.mp4',\r\n  controlsVisible: false\r\n}).on('stateChanged', event => button.text = event.value !== 'pause' ? '❚❚' : '▶')\r\n  .appendTo(ui.contentView);\r\n\r\nlet button = new Button({\r\n  id: 'button',\r\n  centerX: 0, bottom: 16,\r\n  text: '❚❚'\r\n}).on('select', () => video.state === 'play' ? video.pause() : video.play())\r\n  .appendTo(ui.contentView);\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/comments/332555331","html_url":"https://github.com/eclipsesource/tabris-js/issues/1416#issuecomment-332555331","issue_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/1416","id":332555331,"user":{"login":"mpost","id":73655,"avatar_url":"https://avatars1.githubusercontent.com/u/73655?v=4","gravatar_id":"","url":"https://api.github.com/users/mpost","html_url":"https://github.com/mpost","followers_url":"https://api.github.com/users/mpost/followers","following_url":"https://api.github.com/users/mpost/following{/other_user}","gists_url":"https://api.github.com/users/mpost/gists{/gist_id}","starred_url":"https://api.github.com/users/mpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpost/subscriptions","organizations_url":"https://api.github.com/users/mpost/orgs","repos_url":"https://api.github.com/users/mpost/repos","events_url":"https://api.github.com/users/mpost/events{/privacy}","received_events_url":"https://api.github.com/users/mpost/received_events","type":"User","site_admin":false},"created_at":"2017-09-27T15:14:21Z","updated_at":"2017-09-27T15:14:21Z","author_association":"OWNER","body":"The issue is not yet fixed."}}
{"actor":{"display_login":"mpost"}}