Classes and constructors to wrap media into widgets
Functions
ImageWidget()
: The ImageWidget constructor functionVideoWidget()
: The VideoWidget constructor functionAudioWidget()
: The AudioWidget constructor function
Super classes
RKernel::HasTraits
-> RKernel::Widget
-> RKernel::DOMWidget
-> RKernel::DescriptionWidget
-> RKernel::ValueWidget
-> MediaWidget
Public fields
format
A string, giving the graphics fromat.
value
A Bytes traitlet.
Methods
Inherited methods
RKernel::HasTraits$notify()
RKernel::HasTraits$observe()
RKernel::HasTraits$validate()
RKernel::Widget$_send()
RKernel::Widget$check_version()
RKernel::Widget$close()
RKernel::Widget$display_data()
RKernel::Widget$finalize()
RKernel::Widget$get_state()
RKernel::Widget$handle_buffers()
RKernel::Widget$handle_comm_msg()
RKernel::Widget$handle_comm_opened()
RKernel::Widget$handle_custom_msg()
RKernel::Widget$handle_displayed()
RKernel::Widget$handle_event()
RKernel::Widget$on_displayed()
RKernel::Widget$on_event()
RKernel::Widget$on_msg()
RKernel::Widget$open()
RKernel::Widget$send()
RKernel::Widget$send_state()
RKernel::Widget$set_state()
RKernel::DOMWidget$add_class()
RKernel::DOMWidget$has_class()
RKernel::DOMWidget$remove_class()
Method new()
Initialize an object
Usage
MediaWidgetClass$new(from_file = NULL, from_url = NULL, ...)
Super classes
RKernel::HasTraits
-> RKernel::Widget
-> RKernel::DOMWidget
-> RKernel::DescriptionWidget
-> RKernel::ValueWidget
-> RKernel::MediaWidget
-> ImageWidget
Public fields
_view_name
Name of the Javascript view in the frontend.
_model_name
Name of the Javascript model in the frontend.
format
A string, giving the graphics fromat.
width
A string, describing the width in CSS language, e.g. "480px".
height
A string, describing the height in CSS language, e.g. "480px".
Methods
Inherited methods
RKernel::HasTraits$notify()
RKernel::HasTraits$observe()
RKernel::HasTraits$validate()
RKernel::Widget$_send()
RKernel::Widget$check_version()
RKernel::Widget$close()
RKernel::Widget$display_data()
RKernel::Widget$finalize()
RKernel::Widget$get_state()
RKernel::Widget$handle_buffers()
RKernel::Widget$handle_comm_msg()
RKernel::Widget$handle_comm_opened()
RKernel::Widget$handle_custom_msg()
RKernel::Widget$handle_displayed()
RKernel::Widget$handle_event()
RKernel::Widget$on_displayed()
RKernel::Widget$on_event()
RKernel::Widget$on_msg()
RKernel::Widget$open()
RKernel::Widget$send()
RKernel::Widget$send_state()
RKernel::Widget$set_state()
RKernel::DOMWidget$add_class()
RKernel::DOMWidget$has_class()
RKernel::DOMWidget$remove_class()
RKernel::MediaWidget$from_url()
RKernel::MediaWidget$initialize()
RKernel::MediaWidget$on_change()
Super classes
RKernel::HasTraits
-> RKernel::Widget
-> RKernel::DOMWidget
-> RKernel::DescriptionWidget
-> RKernel::ValueWidget
-> RKernel::MediaWidget
-> VideoWidget
Public fields
_view_name
Name of the Javascript view in the frontend.
_model_name
Name of the Javascript model in the frontend.
format
A string, giving the video fromat.
width
A string, describing the width in CSS language, e.g. "480px".
height
A string, describing the height in CSS language, e.g. "480px".
autoplay
Boolean, when TRUE the video starts when it is displayed.
loop
Boolean, when TRUE the video restarts after finishing.
controls
Boolean, when TRUE then video controls are shown.
Methods
Inherited methods
RKernel::HasTraits$notify()
RKernel::HasTraits$observe()
RKernel::HasTraits$validate()
RKernel::Widget$_send()
RKernel::Widget$check_version()
RKernel::Widget$close()
RKernel::Widget$display_data()
RKernel::Widget$finalize()
RKernel::Widget$get_state()
RKernel::Widget$handle_buffers()
RKernel::Widget$handle_comm_msg()
RKernel::Widget$handle_comm_opened()
RKernel::Widget$handle_custom_msg()
RKernel::Widget$handle_displayed()
RKernel::Widget$handle_event()
RKernel::Widget$on_displayed()
RKernel::Widget$on_event()
RKernel::Widget$on_msg()
RKernel::Widget$open()
RKernel::Widget$send()
RKernel::Widget$send_state()
RKernel::Widget$set_state()
RKernel::DOMWidget$add_class()
RKernel::DOMWidget$has_class()
RKernel::DOMWidget$remove_class()
RKernel::MediaWidget$from_url()
RKernel::MediaWidget$initialize()
RKernel::MediaWidget$on_change()
Super classes
RKernel::HasTraits
-> RKernel::Widget
-> RKernel::DOMWidget
-> RKernel::DescriptionWidget
-> RKernel::ValueWidget
-> RKernel::MediaWidget
-> AudioWidget
Public fields
_view_name
Name of the Javascript view in the frontend.
_model_name
Name of the Javascript model in the frontend.
format
A string, giving the audio fromat.
autoplay
Boolean, when TRUE the video starts when it is displayed.
loop
Boolean, when TRUE the video restarts after finishing.
controls
Boolean, when TRUE then video controls are shown.
Methods
Inherited methods
RKernel::HasTraits$notify()
RKernel::HasTraits$observe()
RKernel::HasTraits$validate()
RKernel::Widget$_send()
RKernel::Widget$check_version()
RKernel::Widget$close()
RKernel::Widget$display_data()
RKernel::Widget$finalize()
RKernel::Widget$get_state()
RKernel::Widget$handle_buffers()
RKernel::Widget$handle_comm_msg()
RKernel::Widget$handle_comm_opened()
RKernel::Widget$handle_custom_msg()
RKernel::Widget$handle_displayed()
RKernel::Widget$handle_event()
RKernel::Widget$on_displayed()
RKernel::Widget$on_event()
RKernel::Widget$on_msg()
RKernel::Widget$open()
RKernel::Widget$send()
RKernel::Widget$send_state()
RKernel::Widget$set_state()
RKernel::DOMWidget$add_class()
RKernel::DOMWidget$has_class()
RKernel::DOMWidget$remove_class()
RKernel::MediaWidget$from_file()
RKernel::MediaWidget$from_url()
RKernel::MediaWidget$initialize()
RKernel::MediaWidget$on_change()