restructure parser
This commit is contained in:
parent
bad576c23d
commit
d097363b24
12 changed files with 365 additions and 274 deletions
|
|
@ -72,7 +72,7 @@ public class VideoItemDetailActivity extends AppCompatActivity {
|
|||
StreamingService[] serviceList = ServiceList.getServices();
|
||||
//VideoExtractor videoExtractor = null;
|
||||
for (int i = 0; i < serviceList.length; i++) {
|
||||
if (serviceList[i].acceptUrl(videoUrl)) {
|
||||
if (serviceList[i].getUrlIdHandler().acceptUrl(videoUrl)) {
|
||||
arguments.putInt(VideoItemDetailFragment.STREAMING_SERVICE, i);
|
||||
currentStreamingService = i;
|
||||
//videoExtractor = ServiceList.getService(i).getExtractorInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue