client/templates/nodeeditor_video.html
author ymh <ymh.work@gmail.com>
Thu, 05 Jan 2017 16:26:07 +0100
changeset 647 eaaa1efce396
parent 483 9bb08a2c2449
child 654 b2789b4cd389
permissions -rw-r--r--
add examples for youtube node types, add a way to open node urls with a single click

<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>