client/templates/nodeeditor_video.html
author rougeronj
Tue, 22 Sep 2015 15:14:10 +0200
changeset 543 5f7bebdcfc0d
parent 483 9bb08a2c2449
child 647 eaaa1efce396
permissions -rw-r--r--
Improve the way we init the view. The data loader send a "loaded" event, hooked by the scene.py and initializing the backbone.history and the view. We don't use redraw_active in save-once and full-json, because it was making the view initialization dependent of these file which are externals. Small fix to hide the "set saved view" button when there is only one view.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
483
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     1
<h2>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     2
    <span class="Rk-CloseX">&times;</span>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     3
    <% if (options.show_node_tooltip_color) { %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     4
        <span class="Rk-UserColor" style="background: <%-node.color%>;"></span>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     5
    <% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     6
    <span class="Rk-Display-Title">
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     7
        <% if (node.uri) { %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     8
            <a href="<%-node.uri%>" target="_blank">
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     9
        <% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    10
        <%-node.title%>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    11
        <% if (node.uri) { %></a><% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    12
    </span>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    13
</h2>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    14
<% if (node.uri && options.show_node_tooltip_uri) { %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    15
     <video width="320" height="240" controls>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    16
        <source src="<%-node.uri%>" type="video/mp4">
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    17
     </video> 
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    18
<% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    19
    <a href="#?idnode=<%-node._id%>"><%-renkan.translate("Link to the node")%></a>