Class: Kaltura::KalturaCaptionAsset
- Inherits:
-
KalturaAsset
- Object
- KalturaObjectBase
- KalturaAsset
- Kaltura::KalturaCaptionAsset
- Defined in:
- lib/kaltura_plugins/kaltura_caption_client_plugin.rb
Instance Attribute Summary collapse
-
#accuracy ⇒ Object
The Accuracy of the caption content.
-
#caption_params_id ⇒ Object
The Caption Params used to create this Caption Asset.
-
#display_on_player ⇒ Object
The Accuracy of the caption content.
-
#format ⇒ Object
The caption format.
-
#is_default ⇒ Object
Is default caption asset of the entry.
-
#label ⇒ Object
Friendly label.
-
#language ⇒ Object
The language of the caption asset content.
-
#language_code ⇒ Object
The language of the caption asset content.
-
#parent_id ⇒ Object
The parent id of the asset.
-
#status ⇒ Object
The status of the asset.
Attributes inherited from KalturaAsset
#actual_source_asset_params_ids, #created_at, #deleted_at, #description, #entry_id, #file_ext, #id, #partner_data, #partner_description, #partner_id, #size, #tags, #updated_at, #version
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#accuracy ⇒ Object
The Accuracy of the caption content
80 81 82 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 80 def accuracy @accuracy end |
#caption_params_id ⇒ Object
The Caption Params used to create this Caption Asset
64 65 66 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 64 def caption_params_id @caption_params_id end |
#display_on_player ⇒ Object
The Accuracy of the caption content
82 83 84 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 82 def display_on_player @display_on_player end |
#format ⇒ Object
The caption format
74 75 76 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 74 def format @format end |
#is_default ⇒ Object
Is default caption asset of the entry
70 71 72 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 70 def is_default @is_default end |
#label ⇒ Object
Friendly label
72 73 74 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 72 def label @label end |
#language ⇒ Object
The language of the caption asset content
66 67 68 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 66 def language @language end |
#language_code ⇒ Object
The language of the caption asset content
68 69 70 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 68 def language_code @language_code end |
#parent_id ⇒ Object
The parent id of the asset
78 79 80 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 78 def parent_id @parent_id end |
#status ⇒ Object
The status of the asset
76 77 78 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 76 def status @status end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/kaltura_plugins/kaltura_caption_client_plugin.rb', line 100 def from_xml(xml_element) super if xml_element.elements['captionParamsId'] != nil self.caption_params_id = xml_element.elements['captionParamsId'].text end if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end if xml_element.elements['languageCode'] != nil self.language_code = xml_element.elements['languageCode'].text end if xml_element.elements['isDefault'] != nil self.is_default = xml_element.elements['isDefault'].text end if xml_element.elements['label'] != nil self.label = xml_element.elements['label'].text end if xml_element.elements['format'] != nil self.format = xml_element.elements['format'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['parentId'] != nil self.parent_id = xml_element.elements['parentId'].text end if xml_element.elements['accuracy'] != nil self.accuracy = xml_element.elements['accuracy'].text end if xml_element.elements['displayOnPlayer'] != nil self.display_on_player = xml_element.elements['displayOnPlayer'].text end end |