Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Chromeless YouTube

Descrição

This plugin is a custom YouTube video player. The default player has custom control buttons that are hidden while the video is playing. Don’t worry, there is an option to use the default YouTube controls if you want. The player is meant to play only one single video, by simply entering it’s YouTube ID number. You can then size the player to any width and height, enabling you to display videos anywhere on your site. Every chromeless widget you create is unique, you can have multiple videos on one page, each with a different source and size.
This plugin is a must have for any WordPress developer. Adding videos to your site has never been easier. YouTube hosts over 35% of the video media on the internet, it would be silly not to utilize their their simple yet powerful website to store all of your videos.

To display these videos on your site, you need to embed a whole bunch of HTML, these embed snippets are the code needed to play each YouTube video on your site. This can sometimes be tedious and that is why I created the Chromeless YouTube Plugin.

The Chromeless YouTube Player is super easy, just drag a widget into your sidebar, type in the YouTube ID number of a video, give it a width and height and that is it.

Ecrãs

  • Widget Options
  • Three players in action

Instalação

  1. Upload the entire ‘chromeless-youtube’ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a new player widget from the wordpress dashboard: Appearance -> Widgets
  4. Post Shortcode: [chromeless id=hnwccozR_oI width=280 height=180 autoplay=no ytcontrols=no]
  5. Template PHP: <?php chromeless_youtube ('hnwccozR_oI','280','180','no','no'); ?>

Perguntas frequentes

Why do I get a blank black screen?

If YouTube has the code disabled you cannot play the video outside of youtube.com, the result is a blank black player screen. You can check to see if this is your issue by visiting youtube and clicking on the
button, if code comes up then good otherwise you cannot play it externally.

I am working on adding some error reporting for this in future versions.

Why should I use this player?

This player allows you to easily place specific YouTube videos wherever you want on your Blog or Website. Your videos can be sized and scattered among your pages or posts, and without the default controls cluttering the experience.

What is a YouTube ID number?

The ID number is YouTube’s unique identifier for each video. You can find the ID number in the address bar at the end of the URL after the “v=” part. It can also be found in the embed code.

How many players can I create?

Theoretically there is no limit, but for practical reasons you may want to limit yourself to a couple of players for each page. Use your judgment, the more players that are buffering data at the same time, the more likely there is to be loading issues.

Can I have more than one video per player?

No, for now you are limited to one. Future releases are planned with support for playlists, so stay tuned.

My player won’t respond?

Try refreshing the page using F5, sometimes the video requests to YouTube will get stuck, due to traffic.

My player is stuck loading?

Try refreshing the page using F5. If you have another player with the same video (same video ID) open in another tab the two players may interfere with each other depending on which browser you are using.

How do I control playback?

If you are using the chromeless controls, just click on the video to display the basic control buttons.

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“Chromeless YouTube” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

1.0

  • Hello WordPress World!

1.01

  • Fixed file path issue. Last minute directory change from chromeless to chromeless-youtube, needed to change the path to the player .swf