Direct URL
https://mmdemo.dist.sdlmedia.com/distributions/?o=2A704403-660B-4368-B110-1310E5C05B76
Embed URL
https://mmdemo.dist.sdlmedia.com/distributions/embed/?o=2A704403-660B-4368-B110-1310E5C05B76
| <!DOCTYPE html> | |
| <!-- | |
| Using | |
| - HTML5 video player | |
| - play event | |
| - pause event | |
| Try this script on http://jsfiddle.net/3MjZu/1/ | |
| --> | |
| <html> |
| //from http://sdl-training.dist.sdlmedia.com/vms/distribution/?o=2981B015-A171-4C6A-BEC6-9C0BC80B9F4E | |
| <meta content="Business_people.mp4" property="og:title"> | |
| <meta content="Business_people.mp4" property="og:description"> | |
| <meta content="video" property="og:type"> | |
| <meta content="http://sdl-training.dist.sdlmedia.com/vms/distribution/?o=2981B015-A171-4C6A-BEC6-9C0BC80B9F4E" property="og:url"> | |
| <meta content="http://sdl-training.dist.sdlmedia.com/scripts/cropper.asp?i=634965106911552910JZ_B.jpg&p=thumbnail&w=398&h=224" property="og:image"> | |
| <meta content="https://sdl-training.dist.sdlmedia.com/scripts/cropper.asp?i=634965106911552910JZ_B.jpg&p=thumbnail&w=398&h=224" property="og:image:secure_url"> | |
| <meta content="SDL Training powered by SDL| Media Manager" property="og:site_name"> | |
| // Example video: http://sdl-training.dist.sdlmedia.com/vms/distribution/?o=C0C21DD1-A520-4297-BECD-A672B98D8C35 | |
| // The video player is contained in <div id="asset01"> | |
| $("#asset01").trigger("play"); | |
| $("#asset01").trigger("pause"); |
| <!DOCTYPE html> | |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Dynamic SDL Media Manager video embed</title> | |
| <script src="http://code.jquery.com/jquery-latest.js"></script> | |
| <link rel="stylesheet" type="text/css" href="stylesheet.css"/> | |
| </head> | |
| <body> | |
| Player A |
| Write-Host "This is a test..." | |
| Write-Host | |
| Write-Host "Press any key to continue" | |
| $void = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") |
| using System; | |
| using System.ServiceModel; | |
| using Tridion.ContentManager.CoreService.Client; | |
| using TridionCoreserviceSession; | |
| ... | |
| // Make a Core Service connection | |
| CoreServiceSession session = new CoreServiceSession( "localhost", "[username]" , "[password]"); |
| Set-TridionCoreServiceHost my.cm.host | |
| Get-TridionUser -Verbose | |
| Get-TridionPublications | Select-Object Id, Title |
| $powershellModulePath = $env:UserProfile + "\Documents\WindowsPowerShell\Modules\Tridion-CoreService" | |
| #todo test if path is in $env:PSModulePath http://msdn.microsoft.com/en-us/library/dd878350%28v=vs.85%29.aspx | |
| $powershellClientPath = $powershellModulePath + "\Clients" | |
| Write-Debug ("PowerShell module path: {0}" -f $powershellModulePath) | |
| if(!(Test-Path $powershellModulePath)) | |
| { | |
| $newModuleFolder = New-Item -path $powershellModulePath -type directory | |
| Write-Debug ("Created new module directory {0}" -f $newModuleFolder.FullName) | |
| } | |
| if(!(Test-Path $powershellClientPath)) |
| (all are set OnRequestStart) | |
| taf:claim:ambientdata:sessioncartridge:session:sessionid | |
| taf:claim:ambientdata:sessioncartridge:session:creationtimestamp | |
| taf:claim:ambientdata:sessioncartridge:session:lifetime | |
| taf:claim:ambientdata:sessioncartridge:refererdomain | |
| taf:claim:ambientdata:sessioncartridge:useragent:browser | |
| taf:claim:ambientdata:sessioncartridge:useragent:browser:version | |
| taf:claim:ambientdata:sessioncartridge:useragent:isbot | |
| taf:claim:ambientdata:sessioncartridge:useragent:os | |
| taf:claim:ambientdata:sessioncartridge:useragent:os:version |