Click here to Skip to main content
15,921,210 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to develop a simple application in which I have to add a marquee tag on playing video.

Like this please help me how to approach and what kind of tools I need is asp.net
Like This:
Click for image
Posted

1 solution

ASP
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="VideoMarquee.aspx.vb" Inherits="MyTestProject.VideoMarquee" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .container { position:relative; }
        .container video
        {
            position:relative;
            z-index:0;
        }
        .overlay
        {
            color:#fff;
            position:absolute;
            top:0;
            left:0;
            z-index:1;
            width:640px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="container">
            <video id="video" width="640" height="480" onclick="play();" controls>
                <source src="video/Motion.mp4" type="video/mp4" />
            </video>
            <div class="overlay">
                <p>Content above your video</p>
                <marquee>Random text to simulate a marquee tag ...</marquee>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900