Flutter YouTube Player Closed Captions Not Supported - flutter

I am using youtube_player_flutter plug-in. However, it does have option to turn on/off closed caption. Is it possible to do so with this plug-in? If not, is there any other plug-in can support CC?
Thank you for your help.

I was having the same problem; although the official description of youtube_player_flutter plugin claims that it supports captions, the player did not have the "CC" icon and I couldn't figure out how to enable/disable or change the captions.
However, the youtube_player_iframe package seems to support closed captions. In the player there's a three-dot icon on the lower left, which, when clicked, allows you to enable/disable or change the language of captions. The player also has a more complete set of controls which I could not find in the youtube_player_flutter package.

Related

how to change tinymce image upload dialog?

Is there a possibility to change image dialog of tinymce?
I want to add a checkbox (or input) for user to select it wants thumbnail to be created. I was looking for an hour and couldn't find it.
Thanks
TinyMCE's image dialog does not have this as a part of its standard distribution but as the editor is released under an open source license you could certainly modify the source code to do what you want. If you download the dev version of the editor you get the unminified versions of all the plugins.

How to import SVG to Unity 2018.2

Unity's roadmap stated that we should be able to import SVG in Unity 2018.2.
I have Unity 2018.2.3, but I couldn't use SVGs to Unity. Unity doesn't recognize they are sprites.
Please can anyone tell me how to import/use SVGs in unity.
There are 2 ways to add SVG support in Unity (other than building your own SVG rendering system or getting one from the Asset Store).
Which way you have to take depends on what version of Unity you are currently using.
In Unity 2019, click on the "Window" menu at the top left of the Editor. Then click on "Package Manager". In the menu that opens, click on the "Advanced" button around the upper right (left of the search bar). Click on "Show preview packages". This will allow you to see packages that aren't officially released (any versions less than 1.0) by Unity Technology. You should be able to find "Vector Graphics" in the list of package with a "Preview" next to its name. Click on it and click on the "Import" button in the lower right of the menu.
In Unity 2020 and later, Unity Tech. have removed the ability to see preview package in the Package Manager because of they had to waste in answering complex inquiries about those incomplete packages as many were adding them to their projects without either clearly understanding them or while thinking that they would have full support (which is not the case).
From Unity 2020 and forth, you got to manually type in a Git URL address to add any preview packages.
To type a Git URL address, open the Package Manage as I explained above, but instead of going with the "Advanced" and "Show preview packages", click on the "+" on the upper left of the menu, then "Add package from Git URL". This will open a small pop-up with a entry field and a grayed out "add" button.
For adding the Vector Graphics package, you got to type (or paste) in the following address:
com.unity.vectorgraphics
After this is typed in, you should be able to click on the "add" button and this will add the preview package to your project under the "In Project" category.
If you don't see Vecor Graphics in package manager click on advanced and enable preview packages.
In order to import SVG with Unity 2018.2, you need to import the package Vector Graphics with the new Package Manager (you can find it in the menu Window > Package Manager).
Then, you can import any SVG in the project by copying it in the project's folder.
Beware of the options in the inspector, the Generated Asset Type controls the render mode, there are 3 modes: Vector sprite (default), Textured sprite, Texture2D.
A picture tells thousand words thanks to 44 second demo
Go to Windows -> Package Manager in Unity 2019
Vector Graphic package is currently in the preview stage. You have to enable preview packages in advance settings in unity 2019.
Edit:
From Unity 2020, the Preview Package setting has changed. Watch this 40 second Demo
Go to edit -> Project Settings -> Package Manager -> Check Enable Preview Package
there is a button labeled "Advanced" on the top left of the window, click it, then tick the "Show preview packages" then you can see the svg package.

color and icon preview extension in VSCode for Flutter

I'am using Visual Studio Code for Flutter Developing and i really like to have a feature that exist in Intelij IDE Which it is showing the Color of Color's Name and showing the Icon of the Icon's Name beside the code like in the picture ..
Picture
I've found many extensions but it not supporting dart ..
(Updated Answer)
These are now available in the Flutter VS Code extension and enabled by default:
(Original Answer)
This is not currently supported in the Dart/Flutter plugins for VS Code. However as a workaround the tooltips for the colours/icons should show previews in their descriptions.
To implement it in VS Code requires some supporting changes in the Dart/Flutter SDKs. If you want to be notified when there's progress on this, click the Subscribe button on https://github.com/Dart-Code/Dart-Code/issues/807 (also add a Thumbs Up if you'd really like to see it to help use prioritise open issues).

How do i add an icon to my Unity Game

So I made a game on unity and i would like to add an icon to the game, so that a desktop icon in custom made. I tried looking it up in google, but i can't seem to find the answer, as all the answers that are given are for something else.
On player settings, check the inspector, one of those tabs says "Icon" check the " override for Standalone" and simply select the icon you want.
I'm kinda late but oh well. Found a helpful video on YouTube: Import the icon you want into the assets as a picture format (.jpg .png whatever etc) and when you go to build your game, click and drag the icon you imported over the box next to "Default icon". I did that with mine and it worked, no need to check "Override for standalone" (I don't even know what that does) Note: I did this on Unity 2020.1.0f1 Personal.
Sauce: https://www.youtube.com/watch?v=vcwxWWRPwLA

Samsung TV Emulator font size

Can someone please help me with this issue. I've been banging my head to find the solution but no help...
The problem is that Samsung TV Emulator displays everything enlarged (line font-size 30ish pixels) and there does seem to have a way to override it. This only happens within Samsung UI components.
To make sure it wasn't something with my project I've downloaded sample project from Brightcove: Sample project but noticed the same behavior with that as well.
Here is the screenshot of my "project". It only one scene with two UI components: http://tinypic.com/r/124evqc/6
Opposed to that, here's what I see in my IDE view: http://tinypic.com/r/ezmn4l/6. As a side-note, I had to put height: 20px in both of my UI components' CSS in order for IDE to show them that way.
Can anyone suggest what am I supposed to do?
Seems like the button is adding 20px to its previous object, check this, maybe it helps
Did you install the TV Fonts when you installed your SDK?
From http://www.samsungdforum.com/Devtools/Sdkdownload
[ How to reInstall TV fonts ]
(Install TV fonts in your Windows system for compatibility with the TV)
1) Please go to this path: [SDK_INSTALL_DIR]/Emulator/Emulator2012_v3.5/bin
2) Double click each of the following files:
- shadow_us.ttf, shadow_eu.ttf, shadow_ko.ttf, shadow_s_cn.ttf,shadow_t_cn.ttf, shadow_jp.ttf
3) Click 'install' button in the dialog box