Hello Frnds..............................whats up..................
Wiki News
a step ahead
Wednesday 8 January 2014
Thursday 18 April 2013
How to Embed Just a Portion of a YouTube Video
For instance, you are embedding a movie from YouTube but want the viewer to focus of one particular scene that begins at ‘x’ seconds and ends at ‘y’ seconds. When the scene has finished, the embedded clip should stop playing irrespective of the length of the video.
Well, here are two simple ways to help you embed a part of any YouTube video:
Case A: Embed YouTube Video with Start Time
This is a scenario where you specify a start time for the embedded video and let it play through the end. Here you can use the standard embed code and append the start time parameter to the YouTube URL as illustrated in the following example:Replace VIDEO_ID with the actual ID of your YouTube video and replace 1234s with the start time (in seconds). For instance, if you want the video to start playback at the 03:24 (mm:ss) mark, you’ll specify the time as t=204s (60*3 + 24).
- <iframe width="500" height="300" frameborder="0" allowfullscreen
- src="http://www.youtube.com/embed/VIDEO_ID#t=1234s"></iframe>
Case B: Embed YouTube Video with Start & End Time
The following YouTube video from an Apple event is over an hour long but I have only embedded the most interesting 2-minute segment (22:10 – 24:26) where Steve Jobs first announced the iPhone.Hit the play button inside the embedded player for a quick demo.
The standard YouTube embed code doesn’t support the end time parameter but we can make use of the YouTube JavaScript API to embed a part of any YouTube video. Without boring you with the technical details, here’s your new embed code:
- <div videoID="t2MOwQ089eQ" startTime="1330" endTime="1466" height="400" width="400"
- id="youtube-player"></div>
- <script src="http://labnol.googlecode.com/files/youtube-embed.js"></script>
You just have to replace the Video ID, the start time (in seconds), the end time (in seconds), the height of the player (in pixels) and the width in the <DIV> tag as per your needs. See this annotated source code to learn how the playback is controlled via the YouTube API.
Also, if you are planning to use this embed code on a popular site, please host the youtube-embed.js file on your own server as googlecode.com may offer limited bandwidth.
Saturday 13 April 2013
Download Web Pages as PDFs with Chrome for iOS
Just like the desktop version of Chrome,
you can now the Google Chrome browser on your iPad or iPhone to
download web pages as PDF files without requiring a separate app. The
menu options aren’t very intuitive though so here’s a quick
walk-through.
Alternatively, you can pick any of your other Android /iOS devices under the Google Cloud Print menu and the PDF file will remotely download to that device. You’ll have to open Chrome on that other device to access the PDF file.
If the PDF printing option isn’t working on your iOS device, make sure that you are signed-in with your Google Account and that Chrome to Mobile option is enabled. This is available under Menu -> Settings -> Google Account (your email address) -> Chrome to Mobile.
One more thing. It is also possible to save web pages as PDFs directly on your iOS device, bypassing Google Drive, but you can’t export that file into other PDF reading apps like iBooks or even your Mail application.
Chrome internally uses the Quartz API of Apple to generate PDF files – the page layout is well preserved but the hyperlinks won’t work inside the PDF.
Print Web Pages as PDFs with Chrome
While you are inside Google Chrome, tap the Menu button and then choose the Print option. Choose Google Cloud Print and you’ll see a list of all your Android and iOS devices that also have Chrome installed on them. Choose the Save to Google Drive option instead and a PDF version of the current web page will instantly get saved to your Google Drive.Alternatively, you can pick any of your other Android /iOS devices under the Google Cloud Print menu and the PDF file will remotely download to that device. You’ll have to open Chrome on that other device to access the PDF file.
If the PDF printing option isn’t working on your iOS device, make sure that you are signed-in with your Google Account and that Chrome to Mobile option is enabled. This is available under Menu -> Settings -> Google Account (your email address) -> Chrome to Mobile.
One more thing. It is also possible to save web pages as PDFs directly on your iOS device, bypassing Google Drive, but you can’t export that file into other PDF reading apps like iBooks or even your Mail application.
Chrome internally uses the Quartz API of Apple to generate PDF files – the page layout is well preserved but the hyperlinks won’t work inside the PDF.
Find Who is Linking to your Website with Google Analytics
The organic search rankings and Google PageRank of your web pages
depend on several factors but the most crucial one is incoming links
(also known as backlinks). Search engines treat external links pointing
to your website as “votes” and more votes will often translate into
higher search rankings.
Step 1: Sign-in to your Google Analytics Account and open the “Traffic Sources” section under “Standard Reports.” These options are available in the left sidebar.
Step 2: Under Traffic Sources, expand the Social group and then choose Trackbacks. You can think of Trackbacks as notifications that Site A sends to Site B when A links to B’s content.
Step 3: Google Analytics will now display a list of external web pages that have recently linked to any of the pages on your domain. The report also mentions the number of visits that may have been generated to your site as a result of these incoming links.
If you would like to know how many new sites have linked to your websites in the last day, just change the Date Range to “Yesterday” or you can even choose custom dates.
Find Sites That Are Linking To You
You can use Google Analytics to quickly find out which external websites are linking to your home page or any of your internal pages. Analytics can also tell you how many incoming links have you “earned” since yesterday and where these backlinks are coming from.Step 1: Sign-in to your Google Analytics Account and open the “Traffic Sources” section under “Standard Reports.” These options are available in the left sidebar.
Step 2: Under Traffic Sources, expand the Social group and then choose Trackbacks. You can think of Trackbacks as notifications that Site A sends to Site B when A links to B’s content.
Step 3: Google Analytics will now display a list of external web pages that have recently linked to any of the pages on your domain. The report also mentions the number of visits that may have been generated to your site as a result of these incoming links.
If you would like to know how many new sites have linked to your websites in the last day, just change the Date Range to “Yesterday” or you can even choose custom dates.
Subscribe to:
Posts (Atom)