def studio_view()

in officevideo/officevideo.py [0:0]


    def studio_view(self, context=None):
        """
        he primary view of the OfficeVideoXBlock, shown to teachers
        when viewing courses.
        """

        html = self.resource_string("static/html/officevideo_edit.html")
        frag = Fragment(html.format(self=self))
        frag.add_css(self.resource_string("static/css/officevideo.css"))
        frag.add_javascript(self.resource_string("static/js/src/officevideo_edit.js"))
        frag.initialize_js('OfficeVideoXBlock')
        return frag