<?php
namespace Craft;

class Wistia_VideosController extends BaseController
{
	public function actionGetModal($projectIds = '*')
	{
		$this->requireAjaxRequest();

		return $this->renderTemplate('wistia/fieldtype/modal', [
			'videos' => craft()->wistia_videos->getVideos(explode(',', $projectIds))
		]);
	}
}
<?php
namespace Craft;

class Wistia_VideosController extends BaseController
{
	public function actionGetModal($projectIds = '*')
	{
		$this->requireAjaxRequest();

		if ($projectIds != '*') {
			$projectIds = explode(',', $projectIds);
		}

		return $this->renderTemplate('wistia/fieldtype/modal', [
			'videos' => craft()->wistia_videos->getVideos($projectIds)
		]);
	}
}
Add projectIds conditional to videos variable
Add projectIds conditional to videos variable
