getSupportActionBar with YouTubeBaseActivity
<p>I am trying out youtube video to be played on my app. I understand this can be achieve by extending activity as YouTubeBaseActivity by doing this I don't have access to you my toolbar.</p>

<pre><code>mActionBar = (Toolbar) findViewById(R.id.toolbar);
        if (mActionBar != null)
        {
            setSupportActionBar(mActionBar);
        }

        getSupportActionBar().setTitle(getResources().getString(R.string.youtubetitle));
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        getSupportActionBar().setHomeButtonEnabled(true);
</code></pre>

<p>I am getting getSupportActionbar could not be resolved. Is there an easy way to get access to toolbar by extending activity YouTubeBaseActivity.</p>

<p>Am I doing anything wrong?</p>

<p>Thanks!</p>