Skip to content

presents features of AVPlay API. Initializes video player for Tizen smart signage device and plays content in a seamless manner (StillMode mode)

License

Notifications You must be signed in to change notification settings

SamsungDForum/AVPlaySeamlessStillMode-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVPlay SeamlessPlay - Still mode

This application demonstrates the usage of webapis.avplay API playing videos in seamless manner using Still mode. With this API it is possible to have a video player in application. AVPlay is alternative to HTML5 player and has many advantages over it including: wider range of codecs and formats, DRMs support, hardware acceleration. It is highly recommended for handling videos in SSSP applications.

How to use the AVPlay SeamlessPlay application

First add videos to project folder and alternate playList array values with videos name. After building and installing the app, press play to start seamless playback.

Supported platforms

2015 and newer

Prerequisites

To use webapis.avplay API, embed below script into your index.html:

<script src="$WEBAPIS/webapis/webapis.js"></script>

Privileges and metadata

In order to use webapis.avplay API the following privilege must be included in config.xml:

<tizen:privilege name="http://developer.samsung.com/privilege/avplay" />

Public level privilege of certificate is supported.

Other resources

In order to achieve seamless playback, make sure video resolution and bitrate are similar for all video elements in playlist. Black gap between videos can be observed on first switch between first and second video (platform limitation). Known Limitations comes from the fact of video usage. Please refer to SDF article about videos.

File structure

AVPlayMixedFrame/ - AVPlayMixedFrame sample app root folder
│
├── css/ - styles used in the application
│   │
│   ├── style.css - styles specific for the application
│   └── SamsungOneUI-400.ttf - font used in application
│
├── js/ - scripts used in the application
│   │
│   └── main.js - main application script
│
├── config.xml - application's configuration file
├── index.html - main document
└── README.md - this file

Other resources

Copyright and License

Copyright 2021 Samsung Electronics, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

presents features of AVPlay API. Initializes video player for Tizen smart signage device and plays content in a seamless manner (StillMode mode)

Resources

License

Stars

Watchers

Forks

Packages

No packages published