question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

addParam('type', 'video') doesn't filter out all videos

See original GitHub issue

on https://developers.google.com/youtube/v3/docs/search/list
type video is valid. But it doesn’t work, it still returns channels instead of only videos.

youTube.addParam('type', 'video')

Any idea what it could be?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
pierre-charpentiercommented, Mar 21, 2018

After searching for a bit, the search method calls the clearParams method which removes the type property…

The pull request #40 should prevent the issue you are describing if it is merged.

Meanwhile, you can add the params in the search method parameters

yt.search(keyword, maxResults, { type: 'video' }, () => {
    ...
})
0reactions
Delivatorcommented, Mar 25, 2018

@Qayou Thanks! Thats seems to be working!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does FFMpeg not apply a video filter on a video input?
I wish to convert/specify the luminance range of the incoming video. Normally when publishing to an RTMP server I can specify -vf "in_range=full...
Read more >
Solved: Get all possible FilterRule parameters - Revit Products
I think the problem I am facing is that this filter rule parameter list does not only include shared and project parameters, but...
Read more >
Do anyone know if there's an video player app that has real ...
Do you know any good video edidting filters? ... What is an app that stabilizes videos on Android? ... The big problem is...
Read more >
YouTube Filters Not Working? Here are Some Tricks To Fix ...
If YouTube's filter is not working, the simplest answer is to search for the video using Google's filter tool. · Simply type what...
Read more >
Moodle in English: problem inserting FLV - Moodle.org
Now when I click on the flv (example below) it does not open in a pop up but asks ... straight from course...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found