#set( $searcher = $mediaarchive.searcherManager.getSearcher($catalogid, "convertpreset")) #set( $collectionid = $context.getRequestParameter("collectionid") ) $context.putPageValue("collectionid",$collectionid) $context.putPageValue("asset", $asset) #set( $rendertype = $mediaarchive.getMediaRenderType($asset)) $context.putPageValue("rendertype",$rendertype) #set( $playertype = $mediaarchive.getMediaPlayerType($asset)) #if( !$playertype ) No template for $playertype #end #set( $cdnprefix = $mediaarchive.getCatalogSettingValue("cdn_prefix") ) $context.putPageValue("cdn",$cdnprefix) #set( $mediadbappid=$mediaarchive.getMediaDbId()) #set( $index = $hits.indexOfId($asset.id)) #set( $previous = false ) #set( $previous = $hits.previous($index)) #set( $next = false ) #set( $next = $hits.next($index)) ##This is used to make a readonly version for mediadb #set( $previewonly = $context.getPageValue("previewonly")) #if( !$previewonly) #set( $previewonly = false) #end $context.putPageValue("previewonly", $previewonly) #set( $opentab = $userprofile.get("assetopentab")) #set( $opentabactions = "") #if(!$opentab) #set( $opentab = "viewpreview") #end #if( !$canviewmetadatageneral ) #set( $opentab = "viewpreview") #end #set( $ismulti = $asset.id.startsWith("multiedit:") || $context.getRequestParameter("multi") == "true") #if( $ismulti ) #set( $opentab = "viewproperties") $context.putPageValue("ismulti",$ismulti) #end $context.putPageValue("opentab",$opentab) $context.putPageValue("opentabactions",$opentabactions) #set( $hitssessionid = $hits.getSessionId()) $context.putPageValue("hitssessionid",$hitssessionid)
$pages.include("$componenthome/mediaviewer/fullscreen/currentassettabs.html",$context)
#if( !$mediadbappid)

[[mediadbappid not defined in datamanager]]

#end #if($opentab == "viewpreview") $pages.include("$componenthome/mediaviewer/fullscreen/tabs/viewpreview.html",$context) #if( $next ) #set( $preloadtype = $mediaarchive.getMediaPlayerType($next)) #if( $preloadtype == "image") #set($tpath = $mediaarchive.asLinkToPreview($next, $libarycol.id, "image1900x1080.jpg"))
#end #end #elseif($opentab == "viewproperties") $pages.include("$componenthome/mediaviewer/fullscreen/tabs/viewproperties.html") #elseif($opentab == "viewmedia") $pages.include("$componenthome/mediaviewer/fullscreen/tabs/viewmedia.html") #elseif($opentab == "viewcollaborate") $pages.include("$componenthome/mediaviewer/fullscreen/tabs/viewcollaborate.html") #elseif($opentab == "multiedit") $pages.include("$componenthome/mediaviewer/fullscreen/tabs/multiedit.html") #elseif($opentab == "viewactions") #set( $opentabactions = $userprofile.get("assetopentabactions")) #if ( $rendertype !='video') #if(!$opentabactions || $opentabactions == 'timeline' || $opentabactions == 'closedcaptions') ##Back to Preview #set( $opentab = "viewproperties") #set( $opentabactions = "") ##userprofile.set("assetopentabactions", "") $pages.include("$componenthome/mediaviewer/fullscreen/tabs/viewproperties.html") #else $pages.include("$componenthome/mediaviewer/fullscreen/tabs/viewactions.html?action=$opentabactions") #end #else $pages.include("$componenthome/mediaviewer/fullscreen/tabs/viewactions.html?action=$opentabactions") #end #elseif($opentab=="viewtable") #set( $opentabassettable = $userprofile.get("assetopentabassettable")) #if($opentabassettable) $pages.include("$home$apphome/views/modules/asset/edit/moduletable.html?oemaxlevel=3&id=${asset.id}&assetid=$asset.id&viewid=$opentabassettable&viewpath=asset/$opentabassettable&hitssessionid=${hitssessionid}",$context) #end #end