Showing posts with label Tricks. Show all posts
Showing posts with label Tricks. Show all posts

Thursday, January 21, 2010

Adding Video to ASP.NET WebSite

Hello Friends!


Now here is something regarding the designing of the website. I am working on a project in ASP.NET. It includes a lot of things in addition to designing. Adding a Animated Image or a Video gives a good look to your page. So, I decided to add a Video to my Website.


And Here the Problem Starts! How to add it?

Here is the code to add the video to your ASP.NET website. Copy the code to the place where you want to add the Video (May in Master Page or Web Form). Replace this -" SomeMediaFile.mpg" (without quotes) with your video filename. Any video extension can be used. But Before that, You need to create the folder in your solution and place the Video file in it. The Parameters can be changed as per requirement.


The Code -


<OBJECT ID="Player"

CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"

VIEWASTEXT>

<PARAM name="autoStart" value="True">

<PARAM name="URL" value="SomeMediaFile.mpg">

<PARAM name="rate" value="1">

<PARAM name="balance" value="0">

<PARAM name="enabled" value="true">

<PARAM name="enabledContextMenu" value="true">

<PARAM name="fullScreen" value="false">

<PARAM name="playCount" value="1">

<PARAM name="volume" value="100">

</OBJECT>



Creating a Video File using the Images, Pictures and Wallpapers -


You can create a video file using the images. It's Simple. Open the Windows Movie Maker (available in Windows XP). Import the required Images. Add Effects and Create the movie file. And it's Done..!

I know there are a lot of other options available to add videos to website such as using Flash. But I think This is the simplest way. Many people don't know how to use flash. And it's very easy to create videos using Windows Movie Maker. Videos can be added using Silverlight also. But it works in Visual Studio 2008 only not in VS 2005.


So, Give it a Try......


There will be few more posts in designing category so stay Tuned :)

Thursday, April 24, 2008

Make Your Mozilla Firefox Run TEN Times Faster


THIS IS A VERY SIMPLE trick.....NO SOFTWARE REQUIRED......NO Download is REQUIRED


1. Type "about:config" into the address bar and hit enter. Scroll down and look for the following entries:
2. Alter the entries as follows:
Set "network.http.pipelining" to "true"
Set "network.http.proxy.pipelining" to "true"
set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.
3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it recieves.

NOTE:this trick only works for broadband users not for dial up :)

SOURCE
 

Blog Archive

About Me

My photo
Hi, I am Blogger doing MCA from GHRIIT, Nagpur.
GREAT FUNDA Copyright © 2009 Blogger Template Designed by Bie Blogger Template