client/templates/nodeeditor_video.html
author rougeronj
Wed, 16 Sep 2015 17:36:46 +0200
changeset 524 904effa4b6d7
parent 483 9bb08a2c2449
child 647 eaaa1efce396
permissions -rw-r--r--
improve view management: - we can pass a negative view index, in this case we count from the end of the list of view - before creating/changing the view representation, we remove the previous one and reinitialize the node visibility - each time we save a view, it creates a new one at the end of the list - "restore" view loads the last view of the list

<h2>
    <span class="Rk-CloseX">&times;</span>
    <% if (options.show_node_tooltip_color) { %>
        <span class="Rk-UserColor" style="background: <%-node.color%>;"></span>
    <% } %>
    <span class="Rk-Display-Title">
        <% if (node.uri) { %>
            <a href="<%-node.uri%>" target="_blank">
        <% } %>
        <%-node.title%>
        <% if (node.uri) { %></a><% } %>
    </span>
</h2>
<% if (node.uri && options.show_node_tooltip_uri) { %>
     <video width="320" height="240" controls>
        <source src="<%-node.uri%>" type="video/mp4">
     </video> 
<% } %>
    <a href="#?idnode=<%-node._id%>"><%-renkan.translate("Link to the node")%></a>