43 $table->column(
"Title",
"<a href='#' onclick='new VideoPicker().selectVideo(this, {video_id}, \"{VideoManager::getVideoURI}\", \"/action/video/thumbnail?video_id={video_id}\");'>{title}</a><span class='image_id'>{image_id}</span>",
true,
"width: 35%")
44 ->column(
"Resolution",
"{width} x {height}",
true,
"width: 10%")
45 ->column(
"Format",
"{getFormat()}",
true,
"width: 10%; text-align: center")
46 ->column(
"Owner",
"{User.first_name} {User.last_name}",
true,
"width: 25%")
47 ->column(
"Last Modified",
"{last_modified}",
true,
"width: 20%");
52 $table->emptyMessage =
"No videos have been uploaded,";
55 $script .=
"<style type='text/css'>span.image_id { display: none }</style>\n";
62 <label
for=
"insert_mode">Insert as </label><select
id=
"insert_mode">
63 <option value=
"embed">Embedded Player</option>
64 <option value=
"button">Lightbox button</option>
65 <option value=
"link">Lightbox link</option>
66 <option value=
"thumbnail">Thumbnail w/ Lightbox</option>
67 <option value=
"download">Download Link</option>
69 &
nbsp;&
nbsp;&
nbsp;&
nbsp;<input type=
"checkbox" class=
"checkbox" id=
"transcript" value=
"1"/>&
nbsp;<label
for=
"transcript">Insert Link
to Transcript</label>
72 <a href=
"#" class=
'button' id=
'insert_video_button' onclick=
"new VideoPicker().insert()">Insert
Video</a>
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static getValue($component, $name)
Retrieve the value of the specified Setting.