UWP play ad before the video - c#

I am building an app that has many movies trailer, and I am looking to support it by adding a video ad just before any video.
So, how to implement any video ad service, just like YouTube ads, to run before that videos.
Note, the app plays videos from the Web as direct links.
Thanks

The Microsoft Ad Client SDK supports video ads; this article has a walkthrough of how to use the Ad SDK to show them. You can manually show an ad before you let the user see the web video.
Windows 10 Anniversary Update also includes a new MediaBreak API specifically for showing video ads during other, longer-form video.

Related

How to embed google drive video only on my website

i want to ask about the idea of embedding google drive video to my website.
To give more details, i have videos on my google drive account, i want to share these videos to my website, so my website users can see them after login to my website.
i tried "any one with the link" but actually if anyone get the link then they can view the video which is not my goal, im also avoiding using the option of specific people as i want my website users to view it only.
is this applicable ? maybe using APIs ?
my project is asp.net
Perhaps using something such as Google Sign-In and storing the video on something such as Google Cloud Storage may work better for your needs.
https://developers.google.com/identity/sign-in/web/
https://cloud.google.com/storage/docs/?hl=en_US&_ga=2.45789092.-1485116680.1546457475
There is documentation available for .net on the google cloud.
https://cloud.google.com/dotnet/

Invite Facebook friends to mobile app that is not a game

I have a mobile app (on WinPhone 8.1) that uses Facebook credentials for Azure authed login.
What I'm trying to do:
Provide users an organic way to invite facebook friends to use the app. Important to note, users gain no advantage by inviting friends, however it will enhance their experience as you can compare your progress in the app with the progress of friends (it is not a game).
Where I'm stuck:
I can't use the apprequests dialog, as it is not a game. I would like to use the 'send' dialog, but it is not available in mobile browsers. It is not a website, so using the POST publish API has no valid href to link (other than the app's download page, but that is not what the publish API is meant for).
What should I do?
This post explains how to do it.
Otherwise, I would suggest you to market your app like a game, a bit of gamification should not hurt ! ;)

How can I show Youtube feed in my Windows Store 8.1 and Windows Phone 8.1 app ? c#

This is my windows phone app : http://www.windowsphone.com/en-us/store/app/teknoseyir-v2-0/fd13b86d-5505-486b-8091-1ada54546d15
and this is my window store app: http://apps.microsoft.com/windows/tr-tr/app/teknoseyir-v2-0/59e66213-4729-4091-97fa-9dc688892a25
This is a webview app . Source is teknoseyir.com ( Turkish Social Technology Network) Teknoseyir is sending their videos to youtube channel. I want to add button to appbar and navigate user to new page . Here is the problem , I want to show teknoseyir youtube feed in this new page.
I have found to add videos to hand by hand but I want to show channel feed automatically. How can I do this ?
You need to take a look at the Youtube Data API. It allows apps to retrieve and update YouTube content in the form of RSS feeds. Your app can use the YouTube Data API to fetch video feeds, channels, and playlists for videos that match particular criteria.
You can find help in this Sample

Programmatically access all videos on wp8

I am currently developing an video backup/upload app which requires me to programmatically access all videos on wp8; irrespective of whether they are on phone or sd card.
Is there any way by which we can programmatically access all videos in wp8 ?
Well I do know that there is a way to integrate the app with the video hub. I also know that it is possible to save files using the app specific Isolated Storage.
But my boss requires that..
1) Videos list should be displayed in the app itself without integrating with the video hub.
2) App should not use only the videos from the Isolated Storage because that will greatly restrict the apps functionality.
I mean can I get the same list of videos as is shown the inbuilt video hub? If there are no managed options then can it be done using native code ?
Sadly there is no API in Windows Phone 8 for accessing videos just like you can do it with photos.
The all you can do right now is vote for this API to be added in future version of Windows Phone here or here on WPdev UserVoice page.
But there might be an option to access stored videos using the File type associations: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206987(v=vs.105).aspx

Updating the metadata or properties of video uploaded through youtube api

I have an asp.net application where users can upload videos through the application to their youtube channel. I'm busy testing the application and have come accross a problem.
I've uploaded a test video through my application to my personal youtube account. When I authenticate myself through my application and try to update the metadata of my video that I uploaded I get an error back becasue the video is read-only.
How can I change the video not to be read-only so I can change the properties of it through my code or the api?
Thanks

Categories