Brightcove: Adding preroll and postroll ads - brightcove

I am trying to implement preroll AND postroll adverts via the Brightcove player.
There are 1000's of videos, so it's not as simple as adding cue points to the media - need to aplly this to all videos.
The documentation is not helping much.
Anyone now how i can do this?
I can also achieve this by calling an ad at 0 seconds (preroll) and the total duration of the video minus 1 second (postroll)
I have the a valid ad server URL which works fine.
Thanks in advance.

If you have a server URL, you will need access to the Brightcove Players Module. The 'Advertising' section lets you enter the Server URL, as well as specify when Ads are displayed, the technology (Html5 or Flash preferred) and other options.
All videos shown through that player should then display your ads (unless the specific videos have been set to not show ads).

Related

Best way to protect copyright on images

We're building a startup centred around assets users would sell on the platform. We need to provision our users by giving them a way to protect their copyrights on images/videos they're uploading. Of course, it is not possible to remove any chance of misuse, but we would like at least to minimise it, using the following identified options:
Add non-distraint watermark to images. Only when users buy an image/video they would get the original/"clear" version
Using Google Reverse Images API to check the web for images and eventually show the user where the similar images are uploaded (can also be used for videos by taking a screenshot)
Add copyright information to each image metadata.
Is there something else that we can do?
The second part is getting some insights in assets reusage
Is there some API on Facebook and other social networks to check how many times certain image is uploaded / re-shared / liked / commented etc ?
Any information on the topic is welcome.
Thanks in advance

How to Only Show Video in Instagram Embed Code?

I am using Laravel 5 and My client wants me to set and input in his admin page to add embedded Instagram videos code.
But does not want to show title, likes and other information.
Just plain video with autoplay.
I found out that you can just eliminate those pieces in the code Instagram gives you but my client just want to copy-paste.
Is there a way around this?

Is there any way to make sure that an image is not taken from google but instead the user's phone camera?

I want to only allow images that are taken directly with the phone’s camera on my website. Are there any APIs or tricks that could help me tell if an image is authentic and taken with an iPhone or Android camera a few moments ago and not taken from Google Images.
Hi drstuggels they are a few ways to go about this.
WebRTC
To prevent upload from any file, take picture directly on your web interface, via the user webcam.
You would need to
Ask permission to the user to use the webcam.
Open the video stream
Capture on click the frame
Save the frame
This would prevent lambda users from uploading picture "not live".
If this is a solution you are considering, look for WebRTC. Although there are many blog post showcasing demo for this exact use case.
Such as:
https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Taking_still_photos
EXIF validation
As mentioned by iѕєρєня, you could try to access the EXIF metadata of the uploaded picture and run a validation mechanism, for let say freshness but looking for date and time field (if you are looking for a newly taken photo) or the camera model field to make sure it was taken by a camera (phone, DSLR, etc..).
DISCLAIMER:
Nothing will prevent a malicious user from tampering with the js code or file to upload fake picture.

Play SHOUTcast DNAS without entering admin panel

I need URL of a SHOUTcast streaming to be played in browser without entering administration panel and without adding "/;" Nor "/stream" at the end of the URL.
I give you the example of 2 SHOUTcast streaming URLs where one does what I want and the other does not.
If you open this streaming A in Mozilla Firefox you will see that a player appears and plays the sound. Now if you open this streaming B in the same browser you will see that it goes to the Shoutcast administration panel.
(I advise you to watch it in Mozilla because if they do it in Chrome or any Chromium based browser, the player will not be seen because these last browsers download streaming instead of showing the player.)
To achieve the same thing as streaming A, it would be enough to add a slash and a semicolon at the end of streaming B or "/stream" and this would result.
But that solution does not work for a project I'm testing, I need the streaming URL to end in the port with nothing later, just like streaming A.
I've been searching the internet for information for over a week and haven't found anything on how to accomplish this.
Someone help me please.
Best regards
Juan
I have fixed the problem in another way.
I have created independent variables for sound URLs and metadata.
To get metadata I have used https://host:port
And for the sound https://host:port/stream
This way I avoid that the browser recognizes my streaming as html and it plays without problems and I get the metadata correctly . :)

How to use YouTube Data API (v3) to get more than 15 videos in an RSS reader (newsboat)?

I was wondering if you could pull more than 15 videos from a youtube channel's RSS feed (I'm using newsboat with a macro to open mpv to play the videos from the links but that's unlikely to make a difference, any RSS reader and media player that can use links should suffice for this). The default URL of https://www.youtube.com/feeds/videos.xml?channel_id=CHANNELID only gives the 15 more recent videos. I found this question: Fetching videos list from a Youtube playlist through RSS doesn't return more than 15 results and the user KENdi says to use the Google-Data-API (v3) and use the command "PlaylistItems: list" with documentation located here: https://developers.google.com/youtube/v3/docs/playlistItems/list to theoretically pull as many as 50 videos.
I have no idea what is meant by this. How do you actually apply this knowledge in practice? All I have access to is newsboats' ~/.newsboat/urls file to add links with tags to the menu so where would I actually add an implementation of some API call and would it normally give me the link so that I can play it in mpv straight from newsboat?

Resources