# Youtube KEY

To play Youtube video from app we need **API KEY** and you must generate your own **API KEY**. Here tutorial to get --> [**http://blog.dream-space.web.id/?p=178**](http://blog.dream-space.web.id/?p=178)​

Then you can put it in file **res/xml/remote\_config\_defaults.xml**\
Data from this file use as default value, anytime you want to change you can change it from firebase remote console.

{% code title="remote_config_defaults.xml" %}
```markup
<!--Youtube property -->
<entry>
    <key>youtube_api_key</key>
    <value>AIzaSyBZZNlXXXXXXXXXXXXXXXXXXXXXXXXXXX</value>
</entry>
```
{% endcode %}

### Set Remote Config <a href="#disable" id="disable"></a>

Parameter value must add for remote config must be same with value from file **res/xml/remote\_config\_defaults.xml**\
Here tutorial how to add update remote config [http://blog.dream-space.web.id/?p=220](http://blog.dream-space.web.id/?p=220)
