- Introduction to Data
- Track your video engagement and performance
- HTML5 video element
- HLS.js
- AVPlayer
- ExoPlayer
- Dash.js
- Video.js
- React native video
- Kaltura (Web)
- Kaltura (iOS)
- Kaltura (Android)
- JW Player (Web)
- JW Player (iOS)
- Android MediaPlayer
- Bitmovin player
- Bitmovin player (Android)
- Akamai media player
- NexPlayer
- Ooyala player
- Shaka player
- Azure media player
- THEOplayer (Web)
- THEOplayer (iOS)
- THEOplayer (Android)
- Flowplayer
- Brightcove (Web)
- Brightcove (iOS)
- Brightcove (Android)
- CTS PDK
- Chromecast
- Roku
- Samsung Tizen
- LG
- Agnoplay player
- Make API requests
- Set up alerts
- Make your data actionable with metadata
- Track autoplaying videos
- Extend Data with custom metadata
- Track CDN for request metrics
- See how many people are watching
- Build a custom integration
- Understand metric definitions
- Export raw video view data
- Ensure privacy compliance
- Mux Data FAQs
Samsung-Tizen
This guide walks through integration with Samsung Tizen to collect video performance metrics with Mux data.
In this guide:
1
Include the Mux Data SDK
1
Include the Mux Data SDK
Install tizen-mux
either from our CDN or include the script in your application.
2
Initialize Mux Data
2
Initialize Mux Data
Attach tizen-mux
to your player so that Mux can collect playback metrics.
3
Make your data actionable
3
Make your data actionable
Use metadata fields to make the data collected by Mux actionable and useful.
Release notes
Release notes
Mux Data is the best way to monitor video streaming performance.
Integration is easy - just initialize the Mux SDK, pass in some metadata, and you're up and running in minutes.
This documents integration instructions for Samsung Tizen TVs. For other players, see the additional Integration Guides.
Mux Data supports applications built for Samsung Tizen TVs using JavaScript and Tizen's AVPlay API. The Samsung Tizen Smart TV SDK supports C++, JavaScript, and Microsoft .NET; this SDK is only compatible with JavaScript applications using AVPlay.
Include the Mux Data SDK by including the tizen-mux.js
JavaScript file within your index.html
file defining your application. You can use the Mux-hosted version of the script to receive automatic updates. (The API will not change within major versions, as in tizen/MAJOR_VERSION/tizen-mux.js
.)
<!-- place within the <head> of your index.html --> <script src="//src.litix.io/tizen/2/tizen-mux.js"></script>
If you would rather host your own, the source can be found here. Also included in this repo is a sample Tizen application showing the Mux Data integration.
To monitor video playback within your Tizen application, pass the AVPlay player instance to monitorTizenPlayer
along with SDK options and metadata.
// Place in your application initialization code, around // where you call `prepare` var player = $('#my-player').get(0); player.url = this.url; var playerInitTime = Date.now(); this.prepare(); monitorTizenPlayer(player, { debug: true, data: { env_key: 'ENV_KEY', // required // Metadata player_name: 'Custom Player', // ex: 'My Main Player' player_init_time: playerInitTime, // ... additional metadata }, // Optional passthrough listener playbackListener: playbackListener });
Tizen's AVPlay API does not allow multiple AVPlayPlaybackCallback listeners to be registered to a player. If you require your own listener to be registered, you must pass this in as playbackListener
as shown above. Mux's SDK will proxy the calls to your listener. (Note: the location of this changed with v1.0.0)
To stop monitoring your player (e.g. when playback is complete), call player.mux.stopMonitor()
.
Log in to the Mux dashboard and find the environment that corresponds to your env_key
and look for video views. It takes about a minute or two from tracking a view for it to show up on the Metrics tab.
If you aren't seeing data, check to see if you have an ad blocker, tracking blocker or some kind of network firewall that prevents your player from sending requests to Mux Data servers.
Detailed Documentation
Options are provided via the data object passed in the call to monitorTizenPlayer
.
All metadata details except for env_key
are optional, however you'll be able to compare and see more interesting results as you include more details. This gives you more metrics and metadata about video streaming, and allows you to search and filter on important fields like the player version, CDN, and video title.
monitorTizenPlayer(player, { debug: false, data: { env_key: 'ENV_KEY', // required // Site Metadata viewer_user_id: '', // ex: '12345' experiment_name: '', // ex: 'player_test_A' sub_property_id: '', // ex: 'cus-1' // Player Metadata player_name: '', // ex: 'My Main Player' player_version: '', // ex: '1.0.0' player_init_time: '', // ex: 1451606400000 // Video Metadata video_id: '', // ex: 'abcd123' video_title: '', // ex: 'My Great Video' video_series: '', // ex: 'Weekly Great Videos' video_duration: '', // in milliseconds, ex: 120000 video_stream_type: '', // 'live' or 'on-demand' video_cdn: '' // ex: 'Fastly', 'Akamai' } });
For more information, see the Metadata Guide.
Current release
v2.5.1
- Update
mux-embed
to v4.9.2
Previous releases
v2.5.0
- Improve rebuffering metrics by using Tizen buffering events instead of playhead tracking
v2.4.6
- Update
mux-embed
to v4.9.1
v2.4.5
- Update
mux-embed
to v4.9.0
v2.4.4
- Update
mux-embed
to v4.8.0
v2.4.3
- Update
mux-embed
to v4.7.0
v2.4.2
- Update
mux-embed
to v4.6.2
v2.4.1
- Update
mux-embed
to v4.6.1
v2.4.0
- Bump mux-embed to 4.6.0
v2.2.0
- Update mux-embed to v4.2.0
- Fix an issue where views that resulted from
programchange
may not have been tracked correctly - Fix an issue where if
destroy
was called multiple times, it would raise an exception
v2.1.0
- Update mux-embed to v4.1.1
v2.0.0
- Update mux-embed to v4.0.0
- Support server-side device detection
v1.0.0
- Update to
mux-embed
v3.1.0 - The mechanism for registering your own AVPlayPlaybackCallback listener changed. Previously, you set this on the player itself, but in v1.0.0 and newer, simply pass it in when you call
monitorTizenPlayer
, alongside thedebug
anddata
options, asplaybackListener
v0.3.0
- Support
programchange
- Update to
mux-embed
v2.8.0 - Fix an issue where
play
event may not have been sent appropriately
v0.1.0
- Initial SDK released.