Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Вопрос по Videos System v2.3.2

Featured Replies

Posted

Привет! Вопрос такой, подскажите, почему данная видео система не показывает плеер с ютуба с расширением https://, а показывает только с http:// ? Можно ли как то сделать, что бы и с расширением https:// тоже работало. А то получается, что в последнее время практически все ссылки идут с этим расширением и когда пользователи выкладывают видео, то получается только ссылка, а не плеер. Я уже в правилах писал, что стирайте из ссылки "s" и тогда появится плеер, но сами понимаете, правила мало кто читает, да и если честно, то это не серьёзно, стирать из ссылки, как то нецивилизовано получается. Искал ответ в инете на этот вопрос, но не нашёл.

Двиг IPB 3.4.7

Edited by Serg

  • Author

У меня в АЦ-Сообщения-Медиа-теги выглядит так:

Медиа-тег :  

http(?:s)?://(www.)?youtube.com/watch\?(\S+?)?v=([\d\w-_]+?)(&\S+?)?

Шаблон замены медиа-тега : 

<iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="600" height="390" src="http://youtube.com/embed/$3?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe>

Не пойму, что редактировать? Как с "s" вроде присутствует.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.