iphone-common-codes-ccteam源代码 CCPlayer.h

//
// CCPlayer.h
// CCFC
//
// Created by xichen on 11-12-16.
// Copyright 2011年 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>
#import <MediaPlayer/MediaPlayer.h>


@interface CCPlayer : NSObject
{

}


// 调用系统播放器播放资源界面
+ (MPMediaPickerController *)showIpodPlayResourceView:(id)delegate
mediaType:(MPMediaType)mediaType
prompt:(NSString *)prompt
isAllowMultiSelected:(BOOL)isAllowMultiSelected
animated:(BOOL)animated;


// 调用系统ipod视频播放接口 not known
+ (MPMoviePlayerViewController *)showMovieView:(id)delegate
urlStr:(NSString *)urlStr
style:(MPMovieControlStyle)style
animated:(BOOL)animated;




@end

 

可能有更新:

 googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCPlayer.h

 github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCPlayer.h

 

posted @ 2012-01-02 15:43  cc_team  阅读(224)  评论(0编辑  收藏  举报