Jump to content

Problems with AVPlayer in the Tizen Emulator

Recommended Posts


I’m doing my first attempts at developing Tizen applications.
Therfore I have created a simple example for streaming with the AVPlayer.
But I have a problem there.
As described in the tutorials, I created the player object like this:

function createAVPlayer() {
	var objElem = document.createElement(‘object’);
	objElem.type = application/avplayer’;
	objElem.style.left = 0px’;
	objElem.style.top = 0px’;
	objElem.style.width = 1920px’;
	objElem.style.height = 1080px’;

Then I initialize the player as follows:

var init = function () {

In the console view, everything looks ok:

adding listener
Entered AVPlayManager.prepareAsync()
Buffering start.
Buffering progress data : 2
Buffering progress data : 3
Buffering progress data : 4
Buffering progress data : 98
Buffering complete.
The media has finished preparing
Current playtime: 17
Current playtime: 518
Current playtime: 1021
Current playtime: 16569
Current playtime: 16880
Stream Completed

But unfortunately the screen remains black in the emulator.
Could it be that I still have to put the AVPlayer object reference to the AVPlay API?
I attaching my example project, maybe one of you can help me.

Many greetings


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...