Auto Youtube Link-Converter
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 1 của 1
  1. #1
    Thành Viên PandavB's Avatar
    Ngày tham gia
    Feb 2014
    Bài viết
    243
    Thanks
    1
    Thanked 13 Times in 11 Posts

    Icon14 Auto Youtube Link-Converter

    So basically this is a total easy-to-implement plugin, which converts standard youtube links to video-embeds on the fly without urging users to use the video-button because I think it is unnecessary.


    On post display, the plugin checks if the post contains at least 1 youtube link in the form of
    Code:
    PHP Code:
    <a href="http://www.youtube.com/watch?v=somecode&some=params">http://www.youtube.com/watch?v=somecode&some=params</a>
    and converts them using the default vB video bbcode parser
    Code can be modified to fit your needs, altough there shouldn't be much to add.
    If you're the special performance-freak, I'm curious if you can enhance data/query-performance. So let me know if you do.

    INSTALL:

    - Download attached XML File and import it as an addon.

    Code:
    PHP Code:
    Changes since 1.3:
    Now works properly on iPad

    Changes since 1.2
    :
    Supports mobile devices with fallback-display if browser doesn't support flash/embed codes
    - Allows the user to specify the above mentioned replacement code for mobile browsers
    - Minor improvements & Fixes

    Changes since 1.1:
    - Moved regular expression and index position into admincp settings to allow easier changing in the future
    - supports new youtube link format: "http://youtu.be/*somevideocode*"

    Changes since 1.0: (or: why should I download that mod again?)
    - Added Link parsing in post-preview mode and in post reviewbits (the latest posts you see under the new reply form) 
    Now every post containing youtube-links should display the embedded video instead.
    Works with any number of youtube-links and any kind of text surrounding them.

    Let me know if you have trouble/questions.
    File Kèm Theo File Kèm Theo
    Khách viếng thăm hãy cùng PandavB xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 

Các Chủ đề tương tự

  1. Chàng béo Psy đánh sập máy chủ của Youtube
    Bởi Domino9990 trong diễn đàn Thông Tin 24h
    Trả lời: 5
    Bài viết cuối: 31-08-13, 10:11 AM
  2. Clip cover của team Việt Nam gây sốt trên youtube
    Bởi hackercong trong diễn đàn SD Video Clips
    Trả lời: 1
    Bài viết cuối: 30-09-11, 12:45 AM
  3. Share txt converter tool dùng cho tlbb
    Bởi huuduyen_05 trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 5
    Bài viết cuối: 21-06-11, 08:55 PM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 01:06 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.