Мой плагин Best Video | Seo-Stories

Мой плагин Best Video

Как-то раз знакомый увидел в моем новом блоге виджет “Лучшее видео” и тут же захотел себе такой же. Правда, это был не виджет, а функция, встроенная в шаблон оформления. Видео вставлялось не самым удобным образом, имело фиксированные размеры, но главное – перетащить такую полезную функцию на другой сайт было практически невозможно (в запутывании кода создатели темы постарались на славу). Узнав о желании друга поставить в свой блог похожий блок, я лишь бросил что-то вроде “Что-нибудь придумаю”, но даже не подозревал, что через пару недель напишу свой первый плагин для WordPress – Best Video.

Основные возможности плагина (на данный момент это уже версия 1.1):

1. Добавление виджета “Лучшее видео” в сайдбар. Настройка в большинстве случаев сводится к простому выставлению размеров видеоблока.
2. Проигрывание видеороликов с YouTube, возможно и с других видеохостингов (пока точно не проверял). Для добавления видео достаточно лишь скормить виджету ссылку на видеоролик. Можно добавить несколько роликов сразу, а плагин будет перебирать их случайным образом.
3. Возможно изменение внешнего вида с помощью CSS, изменение размеров блока и заголовка виджета. Например, чтобы вывести черную рамку вокруг окошка с видео, достаточно добавить строку “border: 2px solid black;” в соответствующее поле.
4. Можно развернуть видео на весь экран (работает при ширине блока от 240 точек, такова особенность YouTube API).
5. Выглядеть это может примерно так:

В панели управления WordPress виджет Best Video предстанет перед Вами таким:

А скачать его можно по этой ссылке :)

Думаю, плагин станет отличным пособием для новичков, так как весь код закомментирован и имеет довольно простую структуру.

Буду рад услышать все Ваши замечания и пожелания, чтобы сделать виджет еще полезнее и лучше. Для полноты ощущений (то есть добавления на сервер WordPress) необходимо выполнить перевод на английский, надеюсь справиться с этим в ближайшее время, тем более что ничего особенно сложного здесь нет. Кстати, на английском необходимо выполнить и ReadMe, в котором содержится весьма много информации, возможно, придется обратиться к кому-то за переводом.

Из-за этого пока что плагин Best Video нельзя найти в репозитории WordPress (проще говоря, с помощью поиска в меню “Плагины”), но в ближайшее время он должен там появиться. Как только это произойдет, установка плагина станет “как у взрослых” :)

Если что-то не работает, или у Вас есть предложения по дальнейшему совершенствованию плагина – прошу написать об этом в комменариях :) Надеюсь, что многим из вас виджет покажется полезным.

Скачать плагин Best Video

2,413 отзывов на “Мой плагин Best Video”


b751b929

  1. Read More пишет:

    Enjoyed reading this, very good stuff, appreciate it. “Talk sense to a fool and he calls you foolish.” by Euripides.

  2. Visit Website пишет:

    Hi, Neat post. There is a problem together with your website in internet explorer, may check this… IE nonetheless is the marketplace leader and a big element of other folks will pass over your magnificent writing due to this problem.

  3. mobile phone пишет:

    Look wonderful, I’ll return to find out your web site all over again.

  4. Click Here пишет:

    badcreditloans.elang.orgIf you are intending to start up your very own blog, believe properly about anything you would like to generate about. Don’t just write about that which you believe other individuals will desire to listen to. You will need to create about that which you like and what interests you most. By composing what you like, your blog site posts will leap out with remarkable, exciting facts!

  5. bezpieczenstwo pracy пишет:

    Hello, you used to write excellent, but the last several posts have been kinda boring… I miss your great writings. Past several posts are just a little bit out of track! come on!

  6. poznan пишет:

    badcreditloans.elang.orgIt can be valuable should you allow friends to publish on your own website. This will likely build a romance amongst you and an additional website operator, and you never ever know when that may are available in handy. Never ever underestimate just what the power of having superior relationships can perform. There may perhaps arrive a time when you need a favor, which blogger that you just allow post on the web-site will be more than willing to assist you out.

  7. undutuaph пишет:

    kbpwrjmc iqtwqksk piumini outlet uehgolwz
    longhcamp

  8. eliko carpet пишет:

    I genuinely enjoy looking at on this web site, it contains fantastic articles. “The living is a species of the dead and not a very attractive one.” by Friedrich Wilhelm Nietzsche.

  9. machu picchu tours пишет:

    As soon as I found this website I went on reddit to share some of the love with them.

  10. terry sacka пишет:

    I have recently started a blog, the information you offer on this website has helped me tremendously. Thanks for all of your time & work. “Her grandmother, as she gets older, is not fading but rather becoming more concentrated.” by Paulette Bates Alden.

  11. press this пишет:

    Good Post, I am a big believer in posting comments on sites to let the blog writers know that they’ve added something advantageous to the world wide web!

  12. play duck life 3 пишет:

    Great goods from you, man. I’ve keep in mind your stuff prior to and you’re simply too magnificent. I actually like what you’ve received right here, certainly like what you are stating and the way in which in which you are saying it. You’re making it enjoyable and you still care for to stay it sensible. I can’t wait to learn far more from you. That is actually a great website.

  13. free samples by mail пишет:

    Zune and iPod: Most people compare the Zune to the Touch, but after seeing how slim and surprisingly small and light it is, I consider it to be a rather unique hybrid that combines qualities of both the Touch and the Nano. It’s very colorful and lovely OLED screen is slightly smaller than the touch screen, but the player itself feels quite a bit smaller and lighter. It weighs about 2/3 as much, and is noticeably smaller in width and height, while being just a hair thicker.

  14. vegan uggs пишет:

    Hello, i think that i saw you visited my web site thus i came to 搑eturn the favor?I’m trying to find things to enhance my web site!I suppose its ok to use a few of your ideas!!

  15. criminal law attorney пишет:

    Sweet blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Thanks

  16. SEO пишет:

    Wow! Thank you! I permanently wanted to write on my site something like that. Can I include a portion of your post to my website?

  17. Internet Startups пишет:

    ???: ?? ?????? ?? ??????????? ???? ? ??????????? ???? ????? ???????????? ?? ?????, ????????? ? ?????-?????. ????? ??? ??????? ??? ??? stay tuned!

  18. machu picchu tours пишет:

    I really like your writing style, great info , thanks for putting up : D.

  19. terry sacka пишет:

    I like this weblog very much, Its a rattling nice berth to read and get info. “High expectations are the key to everything.” by Sam Walton.

  20. g star raw sale пишет:

    Congratulations for posting such a useful blog. Your blog isn’t only informative but also extremely artistic too. There usually are extremely couple of individuals who can write not so easy articles that creatively. Keep up the good writing !!

  21. tbw淘宝商城 пишет:

    天猫商城女装为您带来最好的甜美装。

  22. Allen Christison пишет:

    Whoa, amazing website structure! How much time have you been blogs to get? is made blogging look effortless. The general seem of your web site will be impressive, as well as the content! Good article!

  23. just click the next webpage пишет:

    Hey! Do you use Twitter? I’d like to follow you if that would be okay. I’m definitely enjoying your blog and look forward to new posts.

  24. ugg scarf пишет:

    Hiya, I’m really glad I have found this information. Today bloggers publish just about gossips and web and this is actually annoying. A good website with interesting content, this is what I need. Thanks for keeping this web-site, I will be visiting it. Do you do newsletters? Cant find it.

  25. automotive air conditioning repair пишет:

    Hey! I know this is kind of off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having trouble finding one? Thanks a lot!

  26. Katalog пишет:

    I like the valuable info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn lots of new stuff right here! Best of luck for the next!

  27. トリーバーチ サンダル пишет:

    mark by mark jacobs But the door boards make an uncommonly cheap impression, and in the cockpit a few shining Zierteile or the round ring is not sufficient around the radio evenly, around grey plastic landscapes aufzupeppen. The only pfiffige extra beside the practical console between the seats is the upward open magazine file in the otherwise closed glove subject – and the developers saved just there to a few cent for finer materialThey were otherwise generous despite the cost framework and the weight defaults surprisingly.

  28. retro cargo uggs пишет:

    you’re really a just right webmaster. The website loading speed is incredible. It kind of feels that you’re doing any unique trick. Furthermore, The contents are masterwork. you’ve performed a great process on this subject!

  29. SEO Bundle пишет:

    This unique blog is obviously educating and diverting. I have found a bunch of helpful advices out of it. I’d love to visit it again and again. Thanks a bunch!

  30. uggs sneakers пишет:

    Wow! This could be one particular of the most beneficial blogs We have ever arrive across on this subject. Basically Excellent. I am also a specialist in this topic therefore I can understand your effort.

  31. Kassenrollen пишет:

    hey danke für den klasse artikel und so eine detailierte darstellung. ich bin wirklich froh den artikel gefunden zu haben und hoffe mehr davon sehen zu können :-)

  32. this blog пишет:

    Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

  33. ralph lauren sale пишет:

    I was very happy to find this site on google.I wanted to say thanks to you with regard to this wonderful read!! I surelyloved every little bit of it and I’ve you bookmarked to look into new stuff you post.

  34. Masako Schmig пишет:

    I was pretty pleased to uncover this web site. I wanted to thank you for ones time due to this wonderful read!! I definitely appreciated every bit of it and I have you book marked to look at new information on your blog.

  35. free traffic exchange пишет:

    This particular blog is definitely educating and also informative. I have picked a lot of interesting stuff out of this amazing blog. I’d love to come back every once in a while. Cheers!

  36. machu picchu tours пишет:

    Some truly nice and utilitarian information on this internet site, also I believe the design and style contains wonderful features.

  37. discovered at this website пишет:

    hi all, I had been just checkin out your blog and i also enjoy the cornerstone , once, and have not even attempt to do, so if anyone really wants to produce an engrossing conversation about this, please visit my site on myspace, i’m michael duivis sammy oiutale

  38. Internet Marketing and Online Marketing пишет:

    What you said made a lot of sense. But, think about this, what if you added a little content? I mean, I dont want to tell you how to run your blog, but what if you added something to maybe get peoples attention? Just like a video or a picture or two to get people excited about what youve got to say. In my opinion, it would make your blog come to life a little bit.

  39. I loved this пишет:

    badcreditloans.elang.orgIn case you are intending to start off up your own personal weblog, think meticulously about anything you desire to create about. Never just write about anything you believe many others will would like to listen to. It’s essential to compose about whatever you like and what interests you most. By producing anything you really like, your blog posts will leap out with fascinating, engaging information!

  40. 隆鼻 пишет:

    Utterly composed content material, Really enjoyed reading through.

  41. Premium Theme пишет:

    I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think.

Оставьте отзыв

Вы должны войти чтобы оставить отзыв.