Steps to Reproduce
Send below code in 'Steps To Reproduce:'
var nativePath = 'file:///var/mobile/Containers/Data/Application/xxxx/Documents/exercise-vid-fhd-98.mp4';
var videoPlayer = Titanium.Media.createVideoPlayer({
url: nativePath,
autoplay : true,
repeatMode: Ti.Media.VIDEO_REPEAT_MODE_ONE,
mediaControlStyle: Titanium.Media.VIDEO_CONTROL_NONE ,
scalingMode : Ti.Media.VIDEO_SCALING_ASPECT_FIT,
backgroundColor: '#f0f2f2'
});
var window = Ti.UI.createWindow();
window.add(videoPlayer);
window.open();
Ti.App.addEventListener('pause', function() { videoPlayer.pause()});
Ti.App.addEventListener('resume', function() { videoPlayer.play()});
Actual Result
1. Getting error as in attachment.
2. Loosing all text provided.
Expected Result
1. No error
or
2. more understandable information what cause the error (what should be escaped) and how to avoid it. Getting back to previous window to not to loose what has been already written.
Hello, The issue is not valid, JIRA ticket creation is working. Can you be more specific about what you are trying to do? And how you are proceeding? Thanks.
If you try to add ticket FROM Appcelerator Studio with: {/code:javascript/} {/code/} (without slashes) You will get an error like in *attachment* provided. Also all text will be lost because dialog will be closed.