Skip to content
View in the app

A better way to browse. Learn more.

SOS Invision

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.

Video Directory

Featured Replies

a new issue

Running Invision Community v5.0.19

I upgraded to the latest version of the video app


Switched on and setup the youtube api

Now when delete or hide a video I am getting the below error...

Error: Class "IPS\videosdirectory\DateTime" not found (0)

#0 /home/site/html/system/Content/Content.php(689): IPS\videosdirectory\Video->apiOutput()

#1 /home/site/html/system/Content/Controller.php(1142): IPS\Content->modAction()

#2 /home/site/html/system/Dispatcher/Controller.php(128): IPS\Content\Controller->moderate()

#3 /home/site/html/system/Content/Controller.php(126): IPS\Dispatcher\Controller->execute()

#4 /home/site/html/applications/videosdirectory/modules/front/videosdirectory/view.php(66): IPS\Content\Controller->execute()

#5 /home/site/html/system/Dispatcher/Dispatcher.php(172): IPS\videosdirectory\modules\front\videosdirectory\view->execute()

#6 /home/site/html/index.php(16): IPS\Dispatcher->run()

#7 {main}

Edited by sound

  • Replies 128
  • Views 5.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Square Wheels
    Square Wheels

    Seems to be working well.

  • Manuel Molina
    Manuel Molina

    My mistake, I was choosing the wrong video URL. Thanks! I find this app very easy tu use👍

  • Manuel Molina
    Manuel Molina

    I think in the mobile version it is repeating the share and follow buttons...

Most Helpful Posts

Posted Images

  • 2 weeks later...

@Adriano Getting some errors with the video app. Decided to ask ChatGPT to help me figure it out. It said:

Video Directory 2.0.20’s Video::embedImage() at line 1758 calls File::get() with $this->image when $this->thumb is empty, without checking whether image is also null. Both database fields allow null. This causes the below TypeError when rendering embeds for videos without images.

The error is below:

TypeError: IPS\File::get(): Argument #2 ($url) must be of type IPS\Http\Url|string, null given, called in /var/www/sitefiles/r304709/applications/videosdirectory/sources/Video/Video.php on line 1758 (0)

#0 /var/www/sitefiles/r304709/applications/videosdirectory/sources/Video/Video.php(1758): IPS\File::get()

#1 /var/www/sitefiles/r304709/applications/videosdirectory/sources/Video/Video.php(1763): IPS\videosdirectory\Video->embedImage()

#2 /var/www/html/5002007/system/Dispatcher/Controller.php(297): IPS\videosdirectory\Video->embedContent()

#3 /var/www/html/5002007/system/Dispatcher/Controller.php(224): IPS\Dispatcher\Controller->getEmbedOutput()

#4 /var/www/html/5002007/system/Dispatcher/Controller.php(128): IPS\Dispatcher\Controller->embed()

#5 /var/www/html/5002007/system/Content/Controller.php(127): IPS\Dispatcher\Controller->execute()

#6 /var/www/sitefiles/r304709/applications/videosdirectory/modules/front/videosdirectory/view.php(66): IPS\Content\Controller->execute()

#7 /var/www/html/5002007/system/Dispatcher/Dispatcher.php(172): IPS\videosdirectory\modules\front\videosdirectory\view->execute()

#8 /var/www/html/5002007/index.php(16): IPS\Dispatcher->run()

#9 {main}

ChatGPT said this would be the fix:

public function embedImage() : ?File

{

$image = $this->thumb ?: $this->image;

return $image

? File::get('videosdirectory_Image', $image)

: null;

}

But I will let you figure it out.

Account

Navigation

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.