Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.

3.2 & 3.3 Extensions Database 3.2 / 3.3Youtube Videos Gallery

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

vince
Users
Users
Posts: 17
Joined: 15 Feb 2020, 14:01
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by vince »

Question ? is there a portal block for recently added videos ??? thanks guys great work

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

Xxxbennyxxx wrote: 16 Jun 2020, 14:05 Is it possible to display the mobile view a little better? Now it seems a bit untidy. I use the style: prosilver_dark

104221986_1602837023215966_4867660594237352535_n.jpg
No the arrows above and below the video is not an empty space (looks empty yes) that is apart of how you tube display a video that entire area is a video.
Image

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

vince wrote: 05 Jul 2020, 14:39 Question ? is there a portal block for recently added videos ??? thanks guys great work
No there is no known portal block unless some one else has made one.

User avatar

vince
Users
Users
Posts: 17
Joined: 15 Feb 2020, 14:01
    Android Firefox

Re: Youtube Videos Gallery

Post by vince »

Thanks Martin maybe I'll attempt it

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

I'm sure talonos had one for board 3 portal but his site has now gone maybe some one has it installed and will read this and post it.

User avatar

miri4ever
Users
Users
Posts: 71
Joined: 22 Jan 2017, 15:39
    Windows 10 Opera

Re: Youtube Videos Gallery

Post by miri4ever »

Still not sure what is wrong with the API key to get no names for videos, not inside the libary and not inside acp. Testing show me up this kind of tests done:

Code: Select all

{
  "kind": "youtube#searchListResponse",
  "etag": "Tt7rTVCbT4vjjZvbUIhYKJGhqYw",
  "nextPageToken": "CAUQAA",
  "regionCode": "DE",
  "pageInfo": {
    "totalResults": 1000000,
    "resultsPerPage": 5
  },
  "items": [
    {
      "kind": "youtube#searchResult",
      "etag": "whQbM-T3X3CEPVgEvpg-kez2jsU",
      "id": {
        "kind": "youtube#video",
        "videoId": "-QMg39gK624"
      },
      "snippet": {
        "publishedAt": "2018-09-26T10:26:38Z",
        "channelId": "UCkUq-s6z57uJFUFBvZIVTyg",
        "title": "Getting Started with YouTube Data API | Exploring YouTube Data API (Part-1)",
        "description": "Explore the awesome YouTube Data API using Python! In this video, you will learn how to setup your project to use YouTube Data API using Python. 1. Create a ...",
        "thumbnails": {
          "default": {
            "url": "https://i.ytimg.com/vi/-QMg39gK624/default.jpg",
            "width": 120,
            "height": 90
          },
          "medium": {
            "url": "https://i.ytimg.com/vi/-QMg39gK624/mqdefault.jpg",
            "width": 320,
            "height": 180
          },
          "high": {
            "url": "https://i.ytimg.com/vi/-QMg39gK624/hqdefault.jpg",
            "width": 480,
            "height": 360
          }
        },
        "channelTitle": "Indian Pythonista",
        "liveBroadcastContent": "none",
        "publishTime": "2018-09-26T10:26:38Z"
      }
    },
    {
      "kind": "youtube#searchResult",
      "etag": "P1kk7CRFsq7x4oYUAIntUYEcMWU",
      "id": {
        "kind": "youtube#video",
        "videoId": "5qtC-tsQ-wE"
      },
      "snippet": {
        "publishedAt": "2020-02-23T11:59:11Z",
        "channelId": "UCbXgNpp0jedKWcQiULLbDTA",
        "title": "YouTube Data API Tutorial with Python - Analyze Channel Statistics - Part 1",
        "description": "In this Python Tutorial we will be learning how to work with the YouTube Data API and analyze channel statistics. This is going to be a 4 part series: - Part 1: ...",
        "thumbnails": {
          "default": {
            "url": "https://i.ytimg.com/vi/5qtC-tsQ-wE/default.jpg",
            "width": 120,
            "height": 90
          },
          "medium": {
            "url": "https://i.ytimg.com/vi/5qtC-tsQ-wE/mqdefault.jpg",
            "width": 320,
            "height": 180
          },
          "high": {
            "url": "https://i.ytimg.com/vi/5qtC-tsQ-wE/hqdefault.jpg",
            "width": 480,
            "height": 360
          }
        },
        "channelTitle": "Python Engineer",
        "liveBroadcastContent": "none",
        "publishTime": "2020-02-23T11:59:11Z"
      }
    },
    {
      "kind": "youtube#searchResult",
      "etag": "a5J_vK9a7oFW66PUuTGr0IzKnFo",
      "id": {
        "kind": "youtube#video",
        "videoId": "r-yxNNO1EI8"
      },
      "snippet": {
        "publishedAt": "2018-07-12T19:51:05Z",
        "channelId": "UC29ju8bIPH5as8OGnQzwJyA",
        "title": "YouTube API Project With Authentication",
        "description": "In this JavaScript project we will use the YouTube API v3 to fetch channel data and videos. We will create a search form to change channels and use OAuth2 to ...",
        "thumbnails": {
          "default": {
            "url": "https://i.ytimg.com/vi/r-yxNNO1EI8/default.jpg",
            "width": 120,
            "height": 90
          },
          "medium": {
            "url": "https://i.ytimg.com/vi/r-yxNNO1EI8/mqdefault.jpg",
            "width": 320,
            "height": 180
          },
          "high": {
            "url": "https://i.ytimg.com/vi/r-yxNNO1EI8/hqdefault.jpg",
            "width": 480,
            "height": 360
          }
        },
        "channelTitle": "Traversy Media",
        "liveBroadcastContent": "none",
        "publishTime": "2018-07-12T19:51:05Z"
      }
    },
    {
      "kind": "youtube#searchResult",
      "etag": "picO2F6EnXljJ_9KiqIvqPe0GLE",
      "id": {
        "kind": "youtube#video",
        "videoId": "6_P-d6yfTb4"
      },
      "snippet": {
        "publishedAt": "2019-05-09T13:46:50Z",
        "channelId": "UCFxcvyt2Ucq5IL0_1Njzqlg",
        "title": "YouTube Data API and Python -- Part 1",
        "description": "In this video series, we will be building a Python script that utilizes PyTube; a Python module used for downloading video content from YouTube in addition to the ...",
        "thumbnails": {
          "default": {
            "url": "https://i.ytimg.com/vi/6_P-d6yfTb4/default.jpg",
            "width": 120,
            "height": 90
          },
          "medium": {
            "url": "https://i.ytimg.com/vi/6_P-d6yfTb4/mqdefault.jpg",
            "width": 320,
            "height": 180
          },
          "high": {
            "url": "https://i.ytimg.com/vi/6_P-d6yfTb4/hqdefault.jpg",
            "width": 480,
            "height": 360
          }
        },
        "channelTitle": "LucidProgramming",
        "liveBroadcastContent": "none",
        "publishTime": "2019-05-09T13:46:50Z"
      }
    },
    {
      "kind": "youtube#searchResult",
      "etag": "Aha6BHXbz1pxCtUtkBvRDcoKPGo",
      "id": {
        "kind": "youtube#video",
        "videoId": "TE66McLMMEw"
      },
      "snippet": {
        "publishedAt": "2020-05-01T19:32:24Z",
        "channelId": "UCvjXo25nY-WMCTEXZZb0xsw",
        "title": "YouTube Data API v3 Tutorial",
        "description": "MY RESOURCES: Support the Channel: https://streamlabs.com/ansondevacademy/tip Buy Me a Ko-fi: http://ko-fi.com/anson Learn JavaScript ...",
        "thumbnails": {
          "default": {
            "url": "https://i.ytimg.com/vi/TE66McLMMEw/default.jpg",
            "width": 120,
            "height": 90
          },
          "medium": {
            "url": "https://i.ytimg.com/vi/TE66McLMMEw/mqdefault.jpg",
            "width": 320,
            "height": 180
          },
          "high": {
            "url": "https://i.ytimg.com/vi/TE66McLMMEw/hqdefault.jpg",
            "width": 480,
            "height": 360
          }
        },
        "channelTitle": "Anson the Developer",
        "liveBroadcastContent": "none",
        "publishTime": "2020-05-01T19:32:24Z"
      }
    }
  ]
}

User avatar

imanonuser
Users
Users
Posts: 9
Joined: 01 Nov 2018, 08:36
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by imanonuser »

Just information
I put my google API key, and the stats and name didn't work..

After i put this key:
Postby martin » 29 May 2020 15:02

If so use this key AIzaSyDJVgCtkk2LYjOQTZ8nIOhASJ6x2Ctzisg i have it on many sites
And work very well!

So, i put again my key. And now work well..

This are normal?

User avatar

miri4ever
Users
Users
Posts: 71
Joined: 22 Jan 2017, 15:39
    Windows 10 Opera

Re: Youtube Videos Gallery

Post by miri4ever »

Well it is strange, because mine are now working too, but I needed to upload all links myself new. Just refreshing links inside ACP did not brought the missing titles back to already posted files. Sometimes things are crazy and working from ghost hand from one day to the other.

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

Youtube are making changes to there api so expect the youtube ext to take a dump.

User avatar

Tiger21820
Users
Users
Posts: 13
Joined: 24 May 2020, 21:00
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Tiger21820 »

The total views counter show a set of numbers instead of the total views, can this be fixed? There's also a "Total Views on YouTube" statistic after Total Comments that doesn't get shown... How can I enable this? Any help is appreciated! :thumbup:

Image

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

Thats a conflict with another ext and was fixed a few years back if i remember right it was forum goals ext.

User avatar

Tiger21820
Users
Users
Posts: 13
Joined: 24 May 2020, 21:00
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Tiger21820 »

I have forum goals installed! What should I do to get them to work together?

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

You need to change the class views to viewss in one of the exts.

User avatar

Tiger21820
Users
Users
Posts: 13
Joined: 24 May 2020, 21:00
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Tiger21820 »

So where do you find that in say... YouTube Gallery? Also, is the 'Views on YouTube' statistic used for anything? I'm examining the language file, and I found that field after the 'Total Comments' field! Can I get that showing?

Edit: I tried to change the TOTAL_VIEWS on the listener.php file on one extension to TOTAL_VIEWSS, and that didn't fix it, and doing it on the other extension's listener.php didn't fix it either...

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

Link me to the forum goals ext your using pls.

Post Reply Previous topicNext topic